Html5-html How to play the video URL returned by PHP?

Source: Internet
Author: User
Rt...
1. Do a video playback of the site, storage for seven cattle, the background to add video after the return of an address, the foreground display, output the URL of this video (has been stitching the URL), because the front end is not familiar, ask how to play, I hope there are sample code ^_^.
2. Since the playback page contains multiple videos (video list), when PHP returns the video URL, is it click on a video Ajax pass to get the URL? Or did you return it at once? (the latter seems to have a problem)

Reply content:

Rt...
1. Do a video playback of the site, storage for seven cattle, the background to add video after the return of an address, the foreground display, output the URL of this video (has been stitching the URL), because the front end is not familiar, ask how to play, I hope there are sample code ^_^.
2. Since the playback page contains multiple videos (video list), when PHP returns the video URL, is it click on a video Ajax pass to get the URL? Or did you return it at once? (the latter seems to have a problem)

http://www.ckplayer.com/

Get the video address once to reduce the number of query times. Just need to control the same page only one video playback object (especially with flash play video)


  
   
   
    这里是其他播放器插件的代码
  
  

If the video format is not HTML5 supported Webm,ogg,mp4. Just use the player plugin directly.

  • 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.