Home > Web Front-end > HTML Tutorial > Problems encountered when dynamically adjusting the size of the flv video being played on the page_html/css_WEB-ITnose

Problems encountered when dynamically adjusting the size of the flv video being played on the page_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:50:05
Original
1399 people have browsed it

I inserted a flv playback video into the page and wanted to dynamically adjust the video size. I found that only white borders were added and the video size did not change:

[object id='flv1' type='application/ x-shockwae-flash' width='300' height='200'....
In other words, just modifying the width and height in the above code cannot change the size of the flv video (other videos can)

In addition to rebuilding the playback code (it’s annoying to have to start from scratch after reconstruction), is there any other way?


Reply to discussion (solution)

1. Video files have their own aspect ratio, such as 16:9, 4:3, 3 :2. It is impossible to modify the proportion of the video file by modifying the CSS width height.
2. Refactoring the code is equivalent to refreshing the page, right? Recording the video playback progress, this front end should be difficult to control.

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template