Using AJAX open source projects to play video implementation in Web pages _ajax related

Source: Internet
Author: User
Tags mootools
1. Refer to
>http://videobox-lb.sourceforge.net/
>http://sourceforge.net/project/showfiles.php?group_id=203672
> Download Videobox 1.1.zip to extract it to the directory of the ASP.net project and use "ADD new item" To create a new HTML file to play the video. The complete code for the HTML file is as follows:
<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
<title>untitled page</title>
<script type= "Text/javascript" src= "Js/mootools.js" ></script>
<script type= "Text/javascript" src= "Js/swfobject.js" ></script>
<script type= "Text/javascript" src= "Js/videobox.js" ></script>
<link rel= "stylesheet" href= "Css/videobox.css" type= "text/css" media= "screen"/>
><body>
><a href= "http://www.youtube.com/watch?v=Yl907BFn6v4" rel= "Vidbox" title= "caption" > YouTube misses brother Leslie Special </a>
<a href= "Http://www.youtube.com/watch?v=uhi5x7V3WXE" rel= "Vidbox" title= "caption" >our video</a>
>
</body>
> But this video can only play YouTube, Youku and other domestic sites video is not able to play. Here's a video that can be played on almost any web site, just like the first one.
> Refer to:
>http://stickmanlabs.com/lightwindow/
> Download Http://stickmanlabs.com/lightwindow/lightwindow.zip, decompression can be run. There are a lot of functions inside. I've modified my original index.html file to make it easier to play video on the network (and to play video from my own site subdirectory).
The > code is as follows:
><! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
<title>untitled page</title>
<script type= "Text/javascript" src= "Js/mootools.js" ></script>
<script type= "Text/javascript" src= "Js/swfobject.js" ></script>
<script type= "Text/javascript" src= "Js/videobox.js" ></script>
<link rel= "stylesheet" href= "Css/videobox.css" type= "text/css" media= "screen"/>
><body>
><a href= "http://www.youtube.com/watch?v=Yl907BFn6v4" rel= "Vidbox" title= "caption" > YouTube misses brother Leslie Special </a>
<a href= "Http://www.youtube.com/watch?v=uhi5x7V3WXE" rel= "Vidbox" title= "caption" >our video</a>
>
</body>
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.