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