Index: branches/MwEmbedStandAloneRL1_17/MwEmbedStandAlone/mwEmbedFrame.php |
— | — | @@ -43,7 +43,7 @@ |
44 | 44 | var $playerAttributes = array( |
45 | 45 | 'apiTitleKey', |
46 | 46 | 'apiProvider', |
47 | | - 'durationHint', |
| 47 | + 'data-durationhint', |
48 | 48 | 'poster', |
49 | 49 | 'kentryid', |
50 | 50 | 'kwidgetid', |
Index: branches/MwEmbedStandAloneRL1_17/MwEmbedStandAlone/modules/AdSupport/tests/Ad_Events_test.html |
— | — | @@ -9,7 +9,7 @@ |
10 | 10 | <div class="playerContainer" style="float:left;width:480px;height:290px;top:0px;left:0px;position:absolute;"> |
11 | 11 | <video class="persistentNativePlayer" id="vid1" width="480" height="300" |
12 | 12 | poster="http://cdn.kaltura.org/apis/html5lib/kplayer-examples/media/bbb480.jpg" |
13 | | - durationHint="33" |
| 13 | + data-durationhint="33" |
14 | 14 | > |
15 | 15 | <source src="http://cdn.kaltura.org/apis/html5lib/kplayer-examples/media/bbb_trailer_iphone.m4v" /> |
16 | 16 | <source src="http://cdn.kaltura.org/apis/html5lib/kplayer-examples/media/bbb400p.ogv" /> |
Index: branches/MwEmbedStandAloneRL1_17/MwEmbedStandAlone/modules/SmilPlayer/tests/VideoCrossfadeSmil.xml |
— | — | @@ -27,7 +27,7 @@ |
28 | 28 | transIn="fromGreen" |
29 | 29 | type="video/ogg" |
30 | 30 | fill="transition" |
31 | | - durationHint="15" |
| 31 | + data-durationhint="15" |
32 | 32 | dur="9s" |
33 | 33 | /> |
34 | 34 | |
— | — | @@ -37,7 +37,7 @@ |
38 | 38 | |
39 | 39 | fill="transition" |
40 | 40 | dur="10s" |
41 | | - durationHint="70" |
| 41 | + data-durationhint="70" |
42 | 42 | type="video/ogg" |
43 | 43 | /> |
44 | 44 | |
Index: branches/MwEmbedStandAloneRL1_17/MwEmbedStandAlone/modules/SmilPlayer/tests/VideoRender.xml |
— | — | @@ -33,7 +33,7 @@ |
34 | 34 | transIn="fromBlack" |
35 | 35 | type="video/ogg" |
36 | 36 | fill="transition" |
37 | | - durationHint="15" |
| 37 | + data-durationhint="15" |
38 | 38 | dur="9s" |
39 | 39 | /> |
40 | 40 | |
— | — | @@ -43,7 +43,7 @@ |
44 | 44 | |
45 | 45 | fill="transition" |
46 | 46 | dur="10s" |
47 | | - durationHint="70" |
| 47 | + data-durationhint="70" |
48 | 48 | type="video/ogg" |
49 | 49 | /> |
50 | 50 | |
Index: branches/MwEmbedStandAloneRL1_17/MwEmbedStandAlone/modules/SmilPlayer/tests/VideoTransitionSmil.xml |
— | — | @@ -36,7 +36,7 @@ |
37 | 37 | transOut="xFade" |
38 | 38 | type="video/ogg" |
39 | 39 | fill="transition" |
40 | | - durationHint="15" |
| 40 | + data-durationhint="15" |
41 | 41 | dur="9s" |
42 | 42 | poster="http://upload.wikimedia.org/wikipedia/commons/thumb/d/d3/Okapia_johnstoni5.ogg/mid-Okapia_johnstoni5.ogg.jpg" |
43 | 43 | /> |
— | — | @@ -44,7 +44,7 @@ |
45 | 45 | <video src="http://upload.wikimedia.org/wikipedia/commons/0/0d/B-36_bomber.ogg" |
46 | 46 | fill="transition" |
47 | 47 | dur="10s" |
48 | | - durationHint="70" |
| 48 | + data-durationhint="70" |
49 | 49 | type="video/ogg" |
50 | 50 | poster="http://upload.wikimedia.org/wikipedia/commons/thumb/0/0d/B-36_bomber.ogg/mid-B-36_bomber.ogg.jpg" |
51 | 51 | /> |
Index: branches/MwEmbedStandAloneRL1_17/MwEmbedStandAlone/modules/EmbedPlayer/players/mw.EmbedPlayer.js |
— | — | @@ -31,7 +31,7 @@ |
32 | 32 | |
33 | 33 | // A hint to the duration of the media file so that duration |
34 | 34 | // can be displayed in the player without loading the media file |
35 | | - 'durationHint', |
| 35 | + 'data-durationhint', |
36 | 36 | |
37 | 37 | // Media start time |
38 | 38 | 'start', |
— | — | @@ -112,7 +112,7 @@ |
113 | 113 | "preMuteVolume" : 0.75, |
114 | 114 | |
115 | 115 | // Media duration: Value is populated via |
116 | | - // custom durationHint attribute or via the media file once its played |
| 116 | + // custom data-durationhint attribute or via the media file once its played |
117 | 117 | "duration" : null, |
118 | 118 | |
119 | 119 | // Mute state |
— | — | @@ -302,7 +302,7 @@ |
303 | 303 | } else { |
304 | 304 | // Check if we should wait for duration: |
305 | 305 | if( $( playerElement ).attr( 'duration') || |
306 | | - $( playerElement ).attr('durationHint') |
| 306 | + $( playerElement ).attr('data-durationhint') |
307 | 307 | ){ |
308 | 308 | // height, width and duration set; do not wait for meta data: |
309 | 309 | return false; |
— | — | @@ -1339,15 +1339,15 @@ |
1340 | 1340 | this.startOffset = parseFloat( this.startOffset ); |
1341 | 1341 | |
1342 | 1342 | // Set the source duration ( if provided in the element metaData or |
1343 | | - // durationHint ) |
| 1343 | + // data-durationhint ) |
1344 | 1344 | if ( $( element ).attr( 'duration' ) ) { |
1345 | 1345 | _this.duration = $( element ).attr( 'duration' ); |
1346 | 1346 | } |
1347 | 1347 | |
1348 | | - if ( !_this.duration && $( element ).attr( 'durationHint' ) ) { |
1349 | | - _this.durationHint = $( element ).attr( 'durationHint' ); |
| 1348 | + if ( !_this.duration && $( element ).attr( 'data-durationhint' ) ) { |
| 1349 | + _this.data-durationhint = $( element ).attr( 'data-durationhint' ); |
1350 | 1350 | // Convert duration hint if needed: |
1351 | | - _this.duration = mw.npt2seconds( _this.durationHint ); |
| 1351 | + _this.duration = mw.npt2seconds( _this.data-durationhint ); |
1352 | 1352 | } |
1353 | 1353 | |
1354 | 1354 | // Make sure duration is a float: |
— | — | @@ -2386,7 +2386,7 @@ |
2387 | 2387 | } |
2388 | 2388 | |
2389 | 2389 | if( this.duration ) { |
2390 | | - params.durationHint = parseFloat( this.duration ); |
| 2390 | + params.data-durationhint = parseFloat( this.duration ); |
2391 | 2391 | } |
2392 | 2392 | iframeUrl += $j.param( params ); |
2393 | 2393 | |
— | — | @@ -2437,7 +2437,7 @@ |
2438 | 2438 | } |
2439 | 2439 | |
2440 | 2440 | if( this.duration ) { |
2441 | | - embedCode +='durationHint="' + parseFloat( this.duration ) + '" '; |
| 2441 | + embedCode +='data-durationhint="' + parseFloat( this.duration ) + '" '; |
2442 | 2442 | } |
2443 | 2443 | |
2444 | 2444 | if( this.width || this.height ){ |
Index: branches/MwEmbedStandAloneRL1_17/MwEmbedStandAlone/modules/EmbedPlayer/tests/Player_Audio.html |
— | — | @@ -10,6 +10,6 @@ |
11 | 11 | </head> |
12 | 12 | <body> |
13 | 13 | <h3> Audio Player </h3> |
14 | | -<audio class="kskin" src="http://upload.wikimedia.org/wikipedia/commons/4/4c/Faurepiece.ogg" durationHint="164"></audio> |
| 14 | +<audio class="kskin" src="http://upload.wikimedia.org/wikipedia/commons/4/4c/Faurepiece.ogg" data-durationhint="164"></audio> |
15 | 15 | </body> |
16 | 16 | </html> |
\ No newline at end of file |
Index: branches/MwEmbedStandAloneRL1_17/MwEmbedStandAlone/modules/EmbedPlayer/tests/Player_Themable.html |
— | — | @@ -26,7 +26,7 @@ |
27 | 27 | poster="http://upload.wikimedia.org/wikipedia/commons/thumb/2/29/Charles_Lindbergh_flight_to_Brussels.ogg/mid-Charles_Lindbergh_flight_to_Brussels.ogg.jpg" |
28 | 28 | data-mwtitle="Charles_Lindbergh_flight_to_Brussels.ogg" |
29 | 29 | data-mwprovider="commons" |
30 | | - durationHint="60" > |
| 30 | + data-durationhint="60" > |
31 | 31 | </video> |
32 | 32 | |
33 | 33 | <video |
— | — | @@ -35,7 +35,7 @@ |
36 | 36 | data-mwtitle="Charles_Lindbergh_flight_to_Brussels.ogg" |
37 | 37 | data-mwprovider="commons" |
38 | 38 | poster="http://upload.wikimedia.org/wikipedia/commons/thumb/2/29/Charles_Lindbergh_flight_to_Brussels.ogg/mid-Charles_Lindbergh_flight_to_Brussels.ogg.jpg" |
39 | | - durationHint="60"> |
| 39 | + data-durationhint="60"> |
40 | 40 | </video> |
41 | 41 | |
42 | 42 | <b>Source Code used:</b><br> |
— | — | @@ -51,7 +51,7 @@ |
52 | 52 | data-mwtitle="Charles_Lindbergh_flight_to_Brussels.ogg" |
53 | 53 | data-mwprovider="commons" |
54 | 54 | poster="http://upload.wikimedia.org/wikipedia/commons/thumb/2/29/Charles_Lindbergh_flight_to_Brussels.ogg/mid-Charles_Lindbergh_flight_to_Brussels.ogg.jpg" |
55 | | - durationHint="60"> |
| 55 | + data-durationhint="60"> |
56 | 56 | </video> |
57 | 57 | <video |
58 | 58 | class="kskin" |
— | — | @@ -59,7 +59,7 @@ |
60 | 60 | data-mwprovider="commons" |
61 | 61 | style="width:208px;height:160px;float:left;" src="http://upload.wikimedia.org/wikipedia/commons/2/29/Charles_Lindbergh_flight_to_Brussels.ogg" |
62 | 62 | poster="http://upload.wikimedia.org/wikipedia/commons/thumb/2/29/Charles_Lindbergh_flight_to_Brussels.ogg/mid-Charles_Lindbergh_flight_to_Brussels.ogg.jpg" |
63 | | - durationHint="60"> |
| 63 | + data-durationhint="60"> |
64 | 64 | </video> |
65 | 65 | |
66 | 66 | <b>(kskin) Source Code used:</b><br> |
Index: branches/MwEmbedStandAloneRL1_17/MwEmbedStandAlone/modules/EmbedPlayer/tests/Player_ServerSideSeek.html |
— | — | @@ -6,7 +6,7 @@ |
7 | 7 | <h2>mwEmbed / archive.org server side seek</h2> |
8 | 8 | |
9 | 9 | <video poster="http://www.archive.org/download/night_of_the_living_dead/format=Thumbnail&x.jpg" |
10 | | - style="width:400px;height:300px" durationHint="5717.21"> |
| 10 | + style="width:400px;height:300px" data-durationhint="5717.21"> |
11 | 11 | <source URLTimeEncoding="true" src="http://www.archive.org/download/night_of_the_living_dead/night_of_the_living_dead_512kb.mp4"/> |
12 | 12 | <source URLTimeEncoding="true" src="http://www.archive.org/download/night_of_the_living_dead/night_of_the_living_dead.ogv"/> |
13 | 13 | </video> |
Index: branches/MwEmbedStandAloneRL1_17/MwEmbedStandAlone/modules/EmbedPlayer/tests/Player_Sources.html |
— | — | @@ -10,7 +10,7 @@ |
11 | 11 | |
12 | 12 | <video id="vid1" width="480" height="267" |
13 | 13 | poster="http://cdn.kaltura.org/apis/html5lib/kplayer-examples/media/bbb480.jpg" |
14 | | - durationHint="33" |
| 14 | + data-durationhint="33" |
15 | 15 | controls> |
16 | 16 | <source src="http://cdn.kaltura.org/apis/html5lib/kplayer-examples/media/bbb_trailer_iphone.m4v"> |
17 | 17 | <source src="http://cdn.kaltura.org/apis/html5lib/kplayer-examples/media/bbb400p.ogv" /> |
Index: branches/MwEmbedStandAloneRL1_17/MwEmbedStandAlone/modules/EmbedPlayer/tests/Player_Seek.html |
— | — | @@ -7,7 +7,7 @@ |
8 | 8 | <h2>mwEmbed / archive.org server side seek</h2> |
9 | 9 | Start Playing at <input id="startTime" size="5" value ="50"></input> seconds. <input value="go" type="button" id="doPageSeek"></input></br> |
10 | 10 | <video id="vid1" poster="http://www.archive.org/download/night_of_the_living_dead/format=Thumbnail&x.jpg" |
11 | | - style="width:400px;height:300px" durationHint="5717.21"> |
| 11 | + style="width:400px;height:300px" data-durationhint="5717.21"> |
12 | 12 | <source src="http://www.archive.org/download/night_of_the_living_dead/night_of_the_living_dead_512kb.mp4"/> |
13 | 13 | <source src="http://www.archive.org/download/night_of_the_living_dead/night_of_the_living_dead.ogv"/> |
14 | 14 | </video> |
Index: branches/MwEmbedStandAloneRL1_17/MwEmbedStandAlone/modules/EmbedPlayer/tests/Player_ServerSeek.html |
— | — | @@ -1,12 +1,12 @@ |
2 | 2 | <html> |
3 | 3 | <head> |
4 | | - <script type="text/javascript" src="../../../mwEmbedLoader.js"></script> |
| 4 | + <script type="text/javascript" src="../../../load.php?modules=startup&only=scripts"></script> |
5 | 5 | </head> |
6 | 6 | <body> |
7 | 7 | <h2>mwEmbed / archive.org server side seek</h2> |
8 | 8 | Start Playing at <input id="startTime" size="5" value="50"></input> seconds. <input value="go" type="button" id="doPageSeek"></input></br> |
9 | 9 | <video id="vid1" poster="http://www.archive.org/download/night_of_the_living_dead/format=Thumbnail&x.jpg" |
10 | | - style="width:400px;height:300px" durationHint="5717.21"> |
| 10 | + style="width:400px;height:300px" data-durationhint="5717.21"> |
11 | 11 | <source URLTimeEncoding='true' src="http://www.archive.org/download/night_of_the_living_dead/night_of_the_living_dead_512kb.mp4"/> |
12 | 12 | <source URLTimeEncoding='true' src="http://www.archive.org/download/night_of_the_living_dead/night_of_the_living_dead.ogv"/> |
13 | 13 | </video> |
Index: branches/MwEmbedStandAloneRL1_17/MwEmbedStandAlone/modules/Sequencer/mw.SequencerAddMedia.js |
— | — | @@ -222,7 +222,7 @@ |
223 | 223 | // Set the default duration to the media duration: |
224 | 224 | if( resource.duration ){ |
225 | 225 | // Set the media full duration |
226 | | - $smilRef.attr( 'durationHint', resource.duration ); |
| 226 | + $smilRef.attr( 'data-durationhint', resource.duration ); |
227 | 227 | // By default the imported resource is its entire duration |
228 | 228 | $smilRef.attr( 'dur', resource.duration ); |
229 | 229 | } |
Index: branches/MwEmbedStandAloneRL1_17/MwEmbedStandAlone/modules/Sequencer/tests/VideoRender.xml |
— | — | @@ -50,7 +50,7 @@ |
51 | 51 | |
52 | 52 | fill="transition" |
53 | 53 | dur="1000s" |
54 | | - durationHint="70" |
| 54 | + data-durationhint="70" |
55 | 55 | type="video/ogg" |
56 | 56 | /> |
57 | 57 | |
Index: branches/MwEmbedStandAloneRL1_17/MwEmbedStandAlone/modules/Sequencer/remotes/mw.MediaWikiRemoteSequencer.js |
— | — | @@ -373,7 +373,7 @@ |
374 | 374 | .attr({ |
375 | 375 | 'id' : 'embedSequencePlayer', |
376 | 376 | 'poster' : imageinfo.thumburl, |
377 | | - 'durationHint' : duration, |
| 377 | + 'data-durationhint' : duration, |
378 | 378 | 'apiTitleKey' : page.title.replace('File:',''), |
379 | 379 | }) |
380 | 380 | .addClass('kskin') |
Index: branches/MwEmbedStandAloneRL1_17/MwEmbedStandAlone/modules/KalturaSupport/mw.PlaylistHandlerKaltura.js |
— | — | @@ -144,9 +144,9 @@ |
145 | 145 | getClipSources: function( clipIndex, callback ){ |
146 | 146 | var _this = this; |
147 | 147 | mw.getEntryIdSourcesFromApi( this.getKClient().getPartnerId(), this.getClipList()[ clipIndex ].id, function( sources ){ |
148 | | - // Add the durationHint to the sources: |
| 148 | + // Add the data-durationhint to the sources: |
149 | 149 | for( var i in sources){ |
150 | | - sources[i].durationHint = _this.getClipDuration( clipIndex ); |
| 150 | + sources[i].data-durationhint = _this.getClipDuration( clipIndex ); |
151 | 151 | } |
152 | 152 | callback( sources ); |
153 | 153 | }); |
Index: branches/MwEmbedStandAloneRL1_17/MwEmbedStandAlone/modules/KalturaSupport/mw.PlaylistHandlerKalturaRss.js |
— | — | @@ -43,7 +43,7 @@ |
44 | 44 | |
45 | 45 | mw.getEntryIdSourcesFromApi( kalturaEntryId , function( sources ){ |
46 | 46 | for( var i in sources ){ |
47 | | - sources[i].durationHint = clipDuration; |
| 47 | + sources[i].data-durationhint = clipDuration; |
48 | 48 | } |
49 | 49 | callback( sources ); |
50 | 50 | }); |
Index: branches/MwEmbedStandAloneRL1_17/MwEmbedStandAlone/modules/KalturaSupport/kalturaIframe.php |
— | — | @@ -614,7 +614,7 @@ |
615 | 615 | mw.setConfig( 'Kaltura.LoadScriptForVideoTags', false ); |
616 | 616 | |
617 | 617 | // Don't wait for player metada for size layout and duration ( won't be needed once |
618 | | - // we add durationHint and size attributes to the video tag |
| 618 | + // we add data-durationhint and size attributes to the video tag |
619 | 619 | mw.setConfig( 'EmbedPlayer.WaitForMeta', false ); |
620 | 620 | |
621 | 621 | // Add Packaging Kaltura Player Data ( JSON Encoded ) |
Index: branches/MwEmbedStandAloneRL1_17/MwEmbedStandAlone/modules/MediaWikiSupport/tests/Player_mwtitle.html |
— | — | @@ -0,0 +1,9 @@ |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | +<video id="v0" tabindex="0" style="width: 512px; height: 288px;" |
| 6 | +data-durationhint="7:52" |
| 7 | +data-="Yochai_Benkler_-_On_Autonomy,_Control_and_Cultural_Experience.ogg" |
| 8 | +apiprovider="commons" |
| 9 | +class="kskin"> |
| 10 | +</video> |
\ No newline at end of file |
Property changes on: branches/MwEmbedStandAloneRL1_17/MwEmbedStandAlone/modules/MediaWikiSupport/tests/Player_mwtitle.html |
___________________________________________________________________ |
Added: svn:mime-type |
1 | 11 | + text/plain |
Index: branches/MwEmbedStandAloneRL1_17/MwEmbedStandAlone/modules/Playlist/mw.PlaylistHandlerMediaRss.js |
— | — | @@ -63,7 +63,7 @@ |
64 | 64 | clipSource.type = $( mediaContent ).attr('type' ); |
65 | 65 | } |
66 | 66 | if( $( mediaContent ).attr( 'duration' ) ) { |
67 | | - clipSource.durationHint = $( mediaContent ).attr('duration' ); |
| 67 | + clipSource.data-durationhint = $( mediaContent ).attr('duration' ); |
68 | 68 | } |
69 | 69 | clipSources.push( clipSource ); |
70 | 70 | } |
Index: branches/MwEmbedStandAloneRL1_17/MwEmbedStandAlone/modules/TimedText/tests/Player_Timed_Text.html |
— | — | @@ -3,8 +3,9 @@ |
4 | 4 | <html> |
5 | 5 | <head> |
6 | 6 | <title>sample mv embed</title> |
7 | | - <!-- <script type="text/javascript" src="../../../ResourceLoader.php?class=window.jQuery,mwEmbed&&debug=true"></script> --> |
8 | | - <script type="text/javascript" src="../../../ResourceLoader.php?class=window.jQuery,mwEmbed&debug=true"></script> |
| 7 | + |
| 8 | + <script type="text/javascript" src="../../../load.php?modules=startup&only=scripts"></script> |
| 9 | + |
9 | 10 | <script type="text/javascript"> |
10 | 11 | $( document ).ready(function(){ |
11 | 12 | $('#inlineTracksTextArea').text( |
— | — | @@ -26,7 +27,7 @@ |
27 | 28 | <td id="apiExample" valign="top" width="410"> |
28 | 29 | <video |
29 | 30 | style="width:512px;height:288px" |
30 | | - durationHint="7:52" |
| 31 | + data-durationhint="7:52" |
31 | 32 | apititlekey="Yochai_Benkler_-_On_Autonomy,_Control_and_Cultural_Experience.ogg" |
32 | 33 | apiProvider="commons" |
33 | 34 | class="kskin"></video> |
Index: branches/MwEmbedStandAloneRL1_17/MwEmbedStandAlone/modules/TimedText/remotes/RemoteMwTimedText.js |
— | — | @@ -60,7 +60,7 @@ |
61 | 61 | 'id': "timed-text-player-embed", |
62 | 62 | 'poster': resource.poster, |
63 | 63 | 'src': resource.src, |
64 | | - 'durationHint' : resource.duration, |
| 64 | + 'data-durationhint' : resource.duration, |
65 | 65 | 'apiTitleKey' : resource.apiTitleKey |
66 | 66 | }) |
67 | 67 | .css({ |
Index: branches/MwEmbedStandAloneRL1_17/MwEmbedStandAlone/README |
— | — | @@ -83,7 +83,7 @@ |
84 | 84 | </body> |
85 | 85 | </html> |
86 | 86 | |
87 | | -* For best compatibility: we include the poster, durationHint, width and height attributes. This way browsers such as IE can display the player interface with poster image at the correct resolution with a duration in the user interface. |
| 87 | +* For best compatibility: we include the poster, data-durationhint, width and height attributes. This way browsers such as IE can display the player interface with poster image at the correct resolution with a duration in the user interface. |
88 | 88 | * If you would like to support html5 with h.264 ( safari, IE9, google chrome) and support a flash fallback for older versions of IE you include an h.264 source. For best compatibility your mp4 source should ideally use a h.264 profile compatible with mobile devices such as the iPhone. <a href="http://corp.kaltura.com/">Kaltura hosted Solutions</a> include iPhone support. Desktop video encoding software such as <a href="http://handbrake.fr/">handbrake</a> also includes iPhone profiles. |
89 | 89 | * If you would like to change the theme you can change the class attribute `<video class="kskin">` more info about custom theming is on the way. |
90 | 90 | |
— | — | @@ -176,7 +176,7 @@ |
177 | 177 | |
178 | 178 | Now in your HTML you can use the video tag and it will be given a user interface ie: |
179 | 179 | |
180 | | - <video poster="myPoster.jpg" style="width:400px;height:300px" durationHint="32.2" > |
| 180 | + <video poster="myPoster.jpg" style="width:400px;height:300px" data-durationhint="32.2" > |
181 | 181 | <source src="myH.264.mp4" /> |
182 | 182 | <source src="myOgg.ogg" /> |
183 | 183 | </video> |
Index: branches/MwEmbedStandAloneRL1_17/MwEmbedStandAlone/remotes/mediaWiki.js |
— | — | @@ -452,7 +452,7 @@ |
453 | 453 | |
454 | 454 | var re = new RegExp( /length(":?\s*)*([^,]*)/ ); |
455 | 455 | var dv = parseFloat( re.exec( rewriteHTML )[2] ); |
456 | | - duration_attr = ( dv )? 'durationHint="' + dv + '" ': ''; |
| 456 | + duration_attr = ( dv )? 'data-durationhint="' + dv + '" ': ''; |
457 | 457 | |
458 | 458 | var re = new RegExp( /offset(":?\s*)*([^,&]*)/ ); |
459 | 459 | offset = re.exec( rewriteHTML ); |