Home >Web Front-end >HTML Tutorial >Baidu audio and video plug-in embedded in the web page. How to play local files from the web page_html/css_WEB-ITnose

Baidu audio and video plug-in embedded in the web page. How to play local files from the web page_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:02:431774browse






Please help me. . How to do the red part?


Reply to the discussion (solution)

This should not work.

Try using relative path

How to make relative path.

This probably won’t work.

Try using a relative path

This should not work.

Try using a relative path

It will not work if placed in the same directory.

The video format is wrong. Web page playback is usually wmv, avi is streaming media flv

So far, the controls in the computer that are called on the web page are basically
Windows Media Player (basically plays MPEG WMV AVI music such as WMA MP3, etc.) I feel that the format of your video is wrong. At the same time, the video should be placed in the same folder as the html file, and then when calling, the path should be "../storage "Video folder name/video name"



The answer is to use the English path. Chinese cannot be used in the JS path.


If that doesn’t work, use a relative path, a path relative to the root directory

If that doesn’t work, install IIS


It seems that local files cannot be played , you need something similar to this format,
bdhd://141735702|7CA1A1998A153C2967F118CDE8650D76|Wang Leehom_[Heartbeat] MV Album_DVDRIP.rmvb

I don’t know if you have solved it, please give me a solution

I don’t know if you have solved the problem

I also want to ask, the local video cannot be called

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn