forked from kaltura/mwEmbed
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated timed media example for plyMedia
git-svn-id: http://www.kaltura.org/kalorg/html5video/trunk/mwEmbed@1321 b58a29cf-3064-46da-94c6-1c29cc75c8e5
- Loading branch information
1 parent
e5fe88b
commit 0c922ae
Showing
21 changed files
with
158 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
M2JiN2MzODJmM2MzMDU0ZmU5MTRmZGUxZDIwNDZjY2Q0Y2QxMDhhM3wyNDMzNDI7MjQzMzQyOzEyOTIzMzc0OTc7MDsxMjkyMjUxMDk3LjAxNzM7MDt2aWV3Oio7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ZmE3NzE3ZWMxNDY3ZGQ0MTgxOWZjNDVlNDVhNzg0YzQwYjUxMzFhZHwxOTI1NzI7MTkyNTcyOzEyOTIzNDc5NTU7MDsxMjkyMjYxNTU1LjY5Mzk7MDt2aWV3Oio7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<html> | ||
<head> | ||
<meta name="generator" content= | ||
"HTML Tidy for Windows (vers 14 February 2006), see www.w3.org"> | ||
|
||
<title></title> | ||
</head> | ||
<body> | ||
<h1> | ||
HTML5 ad events test | ||
</h1> | ||
<video persistentNativePlayer="true" id="vid1" width="480" height="267" | ||
poster="http://cdn.kaltura.org/apis/html5lib/kplayer-examples/media/bbb480.jpg" | ||
durationHint="33" | ||
controls> | ||
<source src="http://cdn.kaltura.org/apis/html5lib/kplayer-examples/media/bbb_trailer_iphone.m4v" /> | ||
<source src="http://cdn.kaltura.org/apis/html5lib/kplayer-examples/media/bbb400p.ogv" /> | ||
</video> | ||
<br>Prerool: <input id="prerool" type="text" size="40" value="http://cdn.kaltura.com/p/243342/sp/24334200/flvclipper/entry_id/1_v1z55w0b/flavor/1_jeqsr39h/a.mp4?novar=0"></input></br> | ||
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script> | ||
<script src="../../../mwEmbedLoader.js?debug=true" type="text/javascript"></script> | ||
<script type="text/javascript"> | ||
mw.setConfig( 'Kaltura.IframeRewrite', true ); | ||
mw.setConfig( 'EmbedPlayer.EnableIpadHTMLControls', true); | ||
mw.setConfig( 'EmbedPlayer.OverlayControls', false); | ||
//mw.setConfig( 'EmbedPlayer.EnableIframeApi', true ); | ||
mw.ready(function(){ | ||
var embedPlayer = $j('#vid1').get(0); | ||
|
||
//$j( embedPlayer ).bind( | ||
|
||
$j( embedPlayer ).bind( 'openFullScreen', function(){ | ||
embedPlayer.$interface.append( | ||
'<span class="fullscreenOverlay" style="position:absolute;top:10px;' + | ||
'left:10px;color:red">fullscreen overlay</span>' | ||
); | ||
}); | ||
$j( embedPlayer ).bind( 'closeFullScreen', function(){ | ||
embedPlayer.$interface.find('.fullscreenOverlay').fadeOut('fast'); | ||
}); | ||
|
||
$j( embedPlayer ).bind( 'monitorEvent', function(){ | ||
if( embedPlayer.$interface.find('.timeOverlay').length == 0 ){ | ||
embedPlayer.$interface.append( | ||
'<span class="timeOverlay" style="position:absolute;top:200px;' + | ||
'left:10px;color:red"></span>' ); | ||
} | ||
|
||
}); | ||
}); | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.