I believe everyone has had this feeling: watching a video with a 30-second advertisement makes people very uncomfortable. Similarly, for our front-end guys, in order to attract users, we embed the produced videos into the web page. As a result, because the video has a 30-second advertisement, it not only fails to attract many users, but may also lose some users, which will also make us feel unhappy. Below I will introduce two codes for removing advertisements: The first one is more commonly used (but recently it seems to have some problems, so it is not recommended to use this method): Copy code The code is as follows:<embed src="http://static.youku.com/v1.0.0149/v/swf/qplayer_rtmp.swf?VideoIDS=XNTk1MzQ1OTky&winType=adshow&isAutoPlay=false" quality="high" width="480" height="400" type="application/x-shockwave-flash"></embed> Among them, XNTk1MzQ1OTky is your video id (XNTk1MzQ1OTky in the link http://v.youku.com/v_show/id_XNTk1MzQ1OTky.html is the video id). The second method (has pause/play function, but cannot display in full screen): Copy code The code is as follows:<embed src="http://static.youku.com/v/swf/qplayer.swf?VideoIDS=XNTk1MzQ1OTky&winType=adshow&isAutoPlay=false" quality="high" width="480" height="400" type="application/x-shockwave-flash"></embed> Similarly, just replace XNTk1MzQ1OTky with your own video id. PS: The isAutoPlay parameter in src indicates whether to play automatically. It has two values: true (autoplay) and false (cancel autoplay). |
<<: Introduction to user management under Linux system
>>: Implementation of inserting millions of records into MySQL database within 10 seconds
Table of contents Written in front What exactly i...
If there is a table product with a field add_time...
1. Application Scenarios Parent page a.jsp Subpage...
This is the effect of the Element UI loading comp...
This article shares the specific code of Vue+ssh ...
A few days ago, I saw a post shared by Yu Bo on G...
We may have a question: After we install MySQL lo...
Preface add_header is a directive defined in the ...
This article mainly summarizes some commonly used...
Table of contents 1. DOM & BOM related 1. Che...
This article shares the specific code of vue echa...
Preface The logical judgment statements we use in...
Table of contents 1. watch monitoring properties ...
Preface: Vue3 has been released for a long time. ...
pt-heartbeat When the database is replicated betw...