How JSP pages import Youku videos

Source: Internet
Author: User

I am doing a project inside, should the customer request, to import the video. Then I consider that the video is placed directly in the local database, then there will be a slow response to data video reading.

Then, you can upload the video to Youku first, and then directly apply the Youku video on the HTML code, directly import it.

Specific practices: (a), in Youku registered account, video transmission.

(b), after the video upload, play the video, when the ads loaded, will appear in the bottom of a share button, and then there is the corresponding HTML code.

(iii), get the HTML code, such as: <embed wmode= "opaque" src= "http://player.youku.com/player.php/sid/XNjk5MTU2NzEy/v.swf" Allowfullscreen= "true" quality= "High" width= "690" height= "Up" align= "middle" allowscriptaccess= "Always" type= " Application/x-shockwave-flash "></embed>
(iv), import the code on the JSP page:

<object width= "height=" >
<param name= "movie" value= "${pagecontext.request.contextpath}/swf/piao.wmv" >
<param name= "Quality" value= "High" >
<param name= "wmode" value= "Transparent"/>
<embed wmode= "opaque" src= "http://player.youku.com/player.php/sid/XNjk5MTU2NzEy/v.swf" allowfullscreen= "true" quality= "High" width= "690" height= "Up" align= "middle" allowscriptaccess= "Always" type= "application/ X-shockwave-flash "></embed>
</div> </object>

How JSP pages import Youku videos

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.