Ignore:
Timestamp:
10/27/11 15:07:03 (19 months ago)
Author:
jeroen
Message:

update captions tests, added fic for HTML5 transitioning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/captions/test/styling.html

    r1979 r2015  
    33<head> 
    44 
    5 <meta charset="UTF-8"> 
    6 <script type="text/javascript" src="assets/jwplayer.min.js"></script> 
    7 <title>Captions Styling</title> 
    8 <style> 
    9     body { padding: 50px; font: 13px/20px Arial; background: #EEE; } 
    10     form,p, ul { margin-top: 20px; } 
    11     #player { -webkit-box-shadow: 0 0 5px #999; background: #000; color:#FFF; line-height:270px; text-align: center; } 
    12 </style> 
     5    <meta charset="UTF-8"> 
     6    <script type="text/javascript" src="assets/jwplayer.min.js"></script> 
     7    <title>Captions Styling</title> 
     8    <link type="text/css" rel="stylesheet" href="assets/style.css" /> 
    139 
    1410</head> 
     
    3531 
    3632<ul> 
    37     <li><a href="javascript:loadPlayer({color:'FFCC00',file:'assets/corrie.srt',fontFamily:'Georgia',fontSize:20,fontStyle:'italic',fontWeight:'bold',textDecoration:'underline'})">config styling</a></li> 
    38     <li><a href="javascript:loadPlayer({file:'assets/corrie-styled.xml'})">dfxp styling</a></li> 
    39     <li><a href="javascript:loadPlayer({file:'assets/corrie-speakers.xml',fontFamily:'Georgia',fontSize:20,fontStyle:'italic',fontWeight:'bold'})">config &amp; dfxp styling</a></li> 
    40     <li><a href="javascript:loadPlayer({file:'assets/corrie-styled.srt'})">html in srt</a></li> 
     33    <li><a href="javascript:loadPlayer({color:'FFCC00',file:'assets/corrie.srt',fontFamily:'Georgia',fontSize:20,fontStyle:'italic',fontWeight:'bold',textDecoration:'underline'})">config styling</a><br/> 
     34        Captions should be bold, big, italic, yellow, underlined and serifed.</li> 
     35    <li><a href="javascript:loadPlayer({file:'assets/corrie-styled.xml'})">dfxp styling</a><br/> 
     36        Captions vary in style, size and color. Focus on whether all captions display.</li> 
     37    <li><a href="javascript:loadPlayer({file:'assets/corrie-speakers.xml',fontFamily:'Georgia',fontSize:20,fontStyle:'italic',fontWeight:'bold'})">config &amp; dfxp styling</a><br/> 
     38        Captions should be bold, big, italic and serifed. Every speaker should have its own color.</li> 
     39    <li><a href="javascript:loadPlayer({file:'assets/corrie-styled.srt'})">html in srt</a><br/> 
     40        Captions have the same variations as in case 2. All lines should render correctly.</li> 
    4141</ul> 
    4242 
    43  
    44 <p>Test whether the captions are correctly styled.<br/> 
    45     In the last example, each speaker should get a distinct captions color. 
    46 </p> 
    47  
     43<p>Test all cases in Flash, plus the first case in one HTML5/MP4 browser (Chrome, IE9 or Safari).</p> 
    4844 
    4945</body> 
Note: See TracChangeset for help on using the changeset viewer.