[totem] Add test case for Cone subtitle API



commit 298708c166793a4f50b1371f68e43f8a6129def9
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Nov 20 17:34:13 2009 +0000

    Add test case for Cone subtitle API

 browser-plugin/tests/11.html |   47 ++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 47 insertions(+), 0 deletions(-)
---
diff --git a/browser-plugin/tests/11.html b/browser-plugin/tests/11.html
new file mode 100644
index 0000000..1f144c4
--- /dev/null
+++ b/browser-plugin/tests/11.html
@@ -0,0 +1,47 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en">
+<head>
+<title>Dailymotion for OLPC - Share Your Videos</title>
+<meta http-equiv="content-type" content="text/html; charset=utf-8" />
+<meta http-equiv="content-language" content="en" />
+<meta name="language" content="en" />
+<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
+<link rel="stylesheet" href="http://olpc.dailymotion.com/partners/olpc/css/olpc.css"; />
+<link rel="stylesheet" href="http://olpc.dailymotion.com/partners/olpc/css/player.css"; />
+<link rel="stylesheet" href="http://olpc.dailymotion.com/partners/olpc/css/header.css"; />
+</head>
+<body>
+    <div class="page">
+        <div class="dm_widget_olpcheader" >
+            <div class="header">  
+                <div class="header_left left"></div>  
+                <div class="brand left"></div>  
+                <div class="header_right left"></div>  
+                <div class="menu">
+                    <div class="header_right right"></div>
+                    <div class="menu_items right"><a class="menu_home" href="http://olpc.dailymotion.com/";>Home</a><a class="menu_search" href="http://olpc.dailymotion.com/search/";>Search</a></div>
+                    <div class="header_left right"></div>
+                </div>
+            </div>
+        </div>
+        <div class="subheader subheader_video">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nu</div>
+        <div id="player_page" class="player">
+            <embed type="application/x-vlc-plugin" pluginspage="http://www.videolan.org"; version="VideoLAN.VLCPlugin.2"
+                    width="320"
+                    height="240"
+                    id="vlc">
+            </embed>
+            <script type="text/javascript">
+		    var vlc = document.getElementById("vlc");
+		    if (vlc != null) {
+			    vlc.playlist.items.clear();
+			    vlc.playlist.add("2012-musicvideo1_h480p.mov", "", ":sub-file=test.srt");
+			    vlc.playlist.play();
+		    } else {
+			    alert ("No object with id vlc");
+		    }
+            </script>
+        </div>
+    </div>
+</body>
+</html>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]