Two ways to remove the 30-second ad code from Youku video

Two ways to remove the 30-second ad code from Youku video
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

Recommend

Distributed monitoring system Zabbix uses SNMP and JMX channels to collect data

In the previous article, we learned about the pas...

Use of MySQL stress testing tool Mysqlslap

1. MySQL's own stress testing tool Mysqlslap ...

Analysis of Nginx Rewrite usage scenarios and configuration methods

Nginx Rewrite usage scenarios 1. URL address jump...

How to use MySQL 5.7 temporary tablespace to avoid pitfalls

Introduction MySQL 5.7 aims to be the most secure...

A detailed introduction to HTML page loading and parsing process

The order in which the browser loads and renders H...

Today I will share some rare but useful JS techniques

1. Back button Use history.back() to create a bro...

Detailed tutorial on how to install MySQL 5.7.18 in Linux (CentOS 7) using YUM

The project needs to use MySQL. Since I had alway...

Solution to elementui's el-popover style modification not taking effect

When using element-ui, there is a commonly used c...

A brief discussion on docker compose writing rules

This article does not introduce anything related ...

CSS sets the list style and creates the navigation menu implementation code

1. Set the list symbol list-style-type: attribute...

Several common ways to deploy Tomcat projects [tested]

1 / Copy the web project files directly to the we...

Briefly explain the use of group by in sql statements

1. Overview Group by means to group data accordin...

Mysql slow query optimization method and optimization principle

1. For comparison of date size, the date format p...

Implementation of the login page of Vue actual combat record

Table of contents 1. Preliminary preparation 1.1 ...