Home >Web Front-end >HTML Tutorial >How to switch videos within the same player without refreshing the page_html/css_WEB-ITnose

How to switch videos within the same player without refreshing the page_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:18:561848browse

Switch video refresh without frame refresh

The left frame is the video connection address,
The right frame is the video player,
How can this be done without refreshing the page?
Click the link on the left to directly switch the video content in the player on the right

Reply to the discussion (solution)

The easiest way is to remove the player from the upper-level label of the player and regenerate it Player

I don’t know what technology you used to make the player?
Generally speaking, if a player wants to play video or audio, it must have corresponding parameters.
This parameter is the link address of the video or audio file.
Generally speaking, when a link is clicked,
modify this parameter through JS to play different content.

I don’t know what technology you used to make the player?
Generally speaking, if a player wants to play video or audio, it must have corresponding parameters.
This parameter is the link address of the video or audio file.
Generally speaking, when a link is clicked,
modify this parameter through JS to play different content.

.
Inline frames seem to work, but you need to click on the link.

I don’t know what technology you used to make the player?
Generally speaking, if a player wants to play video or audio, it must have corresponding parameters.
This parameter is the link address of the video or audio file.
Generally speaking, when a link is clicked,
modify this parameter through JS to play different content.
1

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