Changeset 1399


Ignore:
Timestamp:
10/20/10 18:23:31 (3 years ago)
Author:
zach
Message:

Updating examples

Location:
trunk/html5/test/examples
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/html5/test/examples/custom_skin.html

    r1376 r1399  
    33    <head> 
    44        <title>Custom skin</title> 
    5         <script type="text/javascript" src="../../../../js/bin-debug/jwplayer.js"> 
     5        <script type="text/javascript" src="../../../js/bin-debug/jwplayer.js"> 
    66        </script> 
    77        <script type="text/javascript" src="../../bin-debug/jwplayer.html5.js"> 
  • trunk/html5/test/examples/filepathsabsolute.html

    r1393 r1399  
    2828        </video> 
    2929        <script type="text/javascript"> 
    30             jwplayer("player").setup( { 
    31                 players: [{ 
    32                         type: "html5" 
    33                 }, { 
    34                         type: "flash", 
    35                         src: "../../../fl5/player.swf" 
    36                 }] 
    37              
    38             }); 
     30            setTimeout(function() { 
     31                jwplayer("player").setup({ 
     32                        players: [{ 
     33                                type: "html5" 
     34                        }, { 
     35                                type: "flash", 
     36                                src: "../../../fl5/player.swf" 
     37                        }] 
     38                }); 
     39            }, 1000); 
    3940        </script> 
    4041        <h3>HTML code</h3> 
  • trunk/html5/test/examples/filepathsrelative.html

    r1393 r1399  
    2828        </video> 
    2929        <script type="text/javascript"> 
    30             jwplayer("player").setup( { 
    31                 players: [{ 
    32                         type: "html5" 
    33                 }, { 
    34                         type: "flash", 
    35                         src: "../../../fl5/player.swf" 
    36                 }] 
    37              
    38             }); 
     30            setTimeout(function() { 
     31                jwplayer("player").setup({ 
     32                        players: [{ 
     33                                type: "html5" 
     34                        }, { 
     35                                type: "flash", 
     36                                src: "../../../fl5/player.swf" 
     37                        }] 
     38                }); 
     39            }, 1000); 
    3940        </script> 
    4041        <h3>HTML code</h3> 
  • trunk/html5/test/examples/filepathsroot.html

    r1393 r1399  
    99    </head> 
    1010    <body> 
    11        <h1>Root file paths</h1> 
     11        <h1>Root file paths</h1> 
    1212        <p> 
    1313            This page sets up a players to test referencing files via a root path. You should open Charles and confirm that you do not see any duplicate requests for resources, and that no resources have //, ./, or ../ in their path. 
     
    1616            It parses a &lt;video&gt; tag and sets up a player in it's place for IE9, FF, Chrome, Safari, and Opera. IE < 9 will simply display "HTML5 Player should replace this". 
    1717        </p> 
    18                 <h2>Root referenced</h2> 
    19                 <p> 
    20                         This references files based on an absoute path, vis-a-vis "/videos/video.mp4" 
    21                 </p> 
    22                 <video height="270" id="player" poster="/player/trunk/js/test/files/bunny.png" width="480"> 
     18        <h2>Root referenced</h2> 
     19        <p> 
     20            This references files based on an absoute path, vis-a-vis "/videos/video.mp4" 
     21        </p> 
     22        <video height="270" id="player" poster="/player/trunk/js/test/files/bunny.png" width="480"> 
    2323            <source src="/player/trunk/js/test/files/bunny.mp4" type="video/mp4" /> 
    2424                        <source src="/player/trunk/js/test/files/bunny.ogv" type="video/ogg" /> 
    25                         <p> 
    26                                 HTML5 Player should replace this. 
    27                         </p> 
     25            <p> 
     26                HTML5 Player should replace this. 
     27            </p> 
    2828        </video> 
    2929        <script type="text/javascript"> 
    30             jwplayer("player").setup( { 
    31                 players: [{ 
    32                         type: "html5" 
    33                 }, { 
    34                         type: "flash", 
    35                         src: "../../../fl5/player.swf" 
    36                 }] 
    37              
    38             }); 
     30            setTimeout(function() { 
     31                jwplayer("player").setup({ 
     32                        players: [{ 
     33                                type: "html5" 
     34                        }, { 
     35                                type: "flash", 
     36                                src: "../../../fl5/player.swf" 
     37                        }] 
     38                }); 
     39            }, 1000); 
    3940        </script> 
    4041        <h3>HTML code</h3> 
Note: See TracChangeset for help on using the changeset viewer.