How can I display the video data requested by PHP from the server? HTML5 video tags cannot be played.

Source: Internet
Author: User
How can I display the video data requested by PHP from the server? The video tag of HTML5 cannot be played. The following is the code that PHP returns to the browser after obtaining data on the server side.
    
 


The front-end displays the video code.
    


ImgThe tag can directly display the requested image data. the audio tag can display the requested audio time, but cannot play. The video tag can only display the video time and cannot be played. With the embed tag, the video is directly downloaded to the local device and cannot be played on the page.

What labels should I use to play video and audio on the page? Or how can I modify the PHP return data stream code?


Reply to discussion (solution)

Technical experts, come and help me!

Which H have you been running?

No, isn't the CSDN team?

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.