| OLD | NEW |
| 1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
| 2 <html i18n-values="dir:textdirection;"> | 2 <html i18n-values="dir:textdirection;"> |
| 3 <head> | 3 <head> |
| 4 <meta charset="utf-8"> | 4 <meta charset="utf-8"> |
| 5 <title>Media Playlist</title> | 5 <title>Media Playlist</title> |
| 6 <style type="text/css"> | 6 <style type="text/css"> |
| 7 | 7 |
| 8 .playlist { | 8 .playlist { |
| 9 width: 100%; | 9 width: 100%; |
| 10 height: 100%; | 10 height: 100%; |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 font-weight: bold; | 28 font-weight: bold; |
| 29 } | 29 } |
| 30 | 30 |
| 31 .tracknum { | 31 .tracknum { |
| 32 width: 20px; | 32 width: 20px; |
| 33 position: relative; | 33 position: relative; |
| 34 float: left; | 34 float: left; |
| 35 } | 35 } |
| 36 | 36 |
| 37 .title { | 37 .title { |
| 38 | 38 |
| 39 } | 39 } |
| 40 | 40 |
| 41 </style> | 41 </style> |
| 42 <script src='local_strings.js'></script> | 42 <script src="shared/js/local_strings.js"></script> |
| 43 <script> | 43 <script> |
| 44 | 44 |
| 45 function $(o) { | 45 function $(o) { |
| 46 return document.getElementById(o); | 46 return document.getElementById(o); |
| 47 } | 47 } |
| 48 | 48 |
| 49 function pathIsVideoFile(path) { | 49 function pathIsVideoFile(path) { |
| 50 return /\.(mp4|ogg|mpg|avi)$/i.test(path); | 50 return /\.(mp4|ogg|mpg|avi)$/i.test(path); |
| 51 }; | 51 }; |
| 52 | 52 |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 currentPlaylist = playlist; | 111 currentPlaylist = playlist; |
| 112 currentOffset = info.currentOffset; | 112 currentOffset = info.currentOffset; |
| 113 updateUI(); | 113 updateUI(); |
| 114 }; | 114 }; |
| 115 </script> | 115 </script> |
| 116 <body onload='load();' onselectstart='return false'> | 116 <body onload='load();' onselectstart='return false'> |
| 117 <div id='main' class='playlist'> | 117 <div id='main' class='playlist'> |
| 118 </div> | 118 </div> |
| 119 </body> | 119 </body> |
| 120 </html> | 120 </html> |
| OLD | NEW |