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
In the previous article, we learned about the pas...
1. MySQL's own stress testing tool Mysqlslap ...
Nginx Rewrite usage scenarios 1. URL address jump...
Introduction MySQL 5.7 aims to be the most secure...
The order in which the browser loads and renders H...
1. Back button Use history.back() to create a bro...
The project needs to use MySQL. Since I had alway...
When using element-ui, there is a commonly used c...
1. MS SQL SERVER 2005 --1. Clear the log exec(...
This article does not introduce anything related ...
1. Set the list symbol list-style-type: attribute...
1 / Copy the web project files directly to the we...
1. Overview Group by means to group data accordin...
1. For comparison of date size, the date format p...
Table of contents 1. Preliminary preparation 1.1 ...