When we are editing in the background of the website, we often have to put some videos on the website. Due to restrictions, we upload videos to third-party websites such as Youku and Tencent, and then embed them into our own website. How to operate this. See:
1、 Simple call: This method is relatively simple, and uses FLASH to share. However, since the Apple phone tablet does not support FLASH, this method does not support Apple phones. 1. Youku
On the specific video playing page, under the player, Youku has a line of text: Share with friends, click the drop-down arrow on the right, as shown below:
Copy the 'FLASH address' form to share the code. This sharing form is to convert the video into a SWF format FLASH video address. 2. Tencent
On the specific video playing page, under the player, click Share. As shown below:
Click: Copy the FLASH address. Then, we go back to the background of the website, locate the location of the video in the editor, and click Insert FLASH on the toolbar, as shown:
Paste the FLASH video address you copied onto the source file location, and fill in the size, width and height of the video, as shown in the above figure. Then confirm. 2、 Complex call: This method call is compatible with all terminals.
1. Youku: Look at the code sharing section in the simple method above, and select the code copy in the "General Code" box in the first line of the screenshot.
2. Tencent: Look at the code sharing section in the simple method above, and select the code copy in the "Copy Common Code" box in the third line of the screenshot.
Then go back to our background, in the editor, click the first button in the first line, switch the editor to the 'source code' mode, which is the website code mode (visualization before switching), and locate your cursor where you want to place it, as shown below:
Paste the code you copied above directly. Before copying the code, you can add several "<br/>", which is the branch code, equivalent to the branch in the visual mode. Write a "<br/>" to represent a branch. You can write more, and put the common code you copied between "<br/>", so that there will be branches in the foreground display. Other codes you do not understand, please do not move.