Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the ways to set up your own online video station for free?

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

The main content of this article is to explain "what are the free ways to build your own online video broadcasting station". Interested friends might as well take a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn "what are the free ways to build your own online video broadcasting station?"

1. Install plug-ins and initialize

There is no need to introduce the plug-in installation of wordpress. I use the background to search for the installation.

After installation, the WP2PCS menu will appear in the menu list on the left side of the background, starting with authorization and initialization settings.

Note that this plug-in can only be used after authorization. This article only talks about how to use video playback, without introducing its other settings, you can download and use its various functions.

two。 Upload video

Because by default, Baidu network disk does not exist your site corresponding to the directory, so need to use a method to activate, the method is very simple, casually upload a file on it. Enter the background of your website, enter the menu "WP2PCS-Resource View" menu, click the "upload" button, and then you will open the Baidu network disk interface and upload a txt bar. Now open Baidu Cloud Butler (network disk client), open it and double-click the "my Application data" directory. Do you find one more wp2pcs directory? click in turn to find the txt you uploaded just now. This directory is the corresponding directory of your site. Upload your video here.

3. Call mp4 video directly

There are two ways to call video, one is to call directly, and the other is to insert the player.

Wordpress has an awesome B function, when you insert a mp4 address, it is automatically converted to a html5 video player. So if your video is in mp4 format, you can insert an address directly. So what is this address? Miraculously, wp2pcs localizes resource calls. You can call the mp4 with a URL of your own website, and a URL like yourdomain/?wp2pcs=/video.mp4 can play the mp4.

When writing or editing an article, click the add Media button.

Select the "WP2PCS" option on the left, enter the corresponding directory, click a video, and then click the "insert selected" button to insert the video. By default, the two options in the upper right corner of the image above are not available, so the mp4 video will be inserted directly. The effect is as follows:

4. Plug-in built-in player

If you call for video playback, you will find that the opening speed of the video is very slow, and the audience may turn off the web page and leave before the video comes out. WP2PCS has a built-in video trigger mechanism that calls Baidu's player directly through an iframe and uses Baidu's server to play videos. The advantage of this function is to directly use Baidu's server, which is equivalent to playing video in Baidu's network disk, and the opening speed and loading speed are relatively fast.

The settings mentioned earlier. To insert the player, you need to turn on the option to insert the player in the settings.

Then select the player where the video is inserted.

What will be inserted is an iframe, and you can switch to text editing mode to adjust the length and width of the iframe. After the article is published, WP2PCS automatically uses javascript to turn the iframe into a video player. The player looks like the following figure:

5. Use m3u8 to play video

Video files in m3u8 format are called streaming files, and WP2PCS can activate m3u8 video playback function, which calls Baidu Media Cloud transcoding services and resources to make video playback more smooth. But this function is paid for, and the cost is not high. If you only play some relatively simple videos, you can choose the player playback method mentioned in 4 above.

The insertion method of this feature is the same as that of the above 4, and the player looks as follows:

6. Use your own player to play video

One of the biggest benefits of WP2PCS is to call out the resources of Baidu cloud disk (private cloud) and use it as much as you want. For example, if you want to use mp4, just call it out. For example, if you want to use avi, just call it out. Then put the url called by this video into your own video player and play it.

Note that if you are directly calling resources to play, you have to take your own server traffic, so this method is not suitable for services with traffic restrictions, and it is not suitable for servers with weak performance, because its resource allocation is performed by php, and if your website is visited by a large number of visitors, it is likely to drag your website to death, so Servers with traffic restrictions and weak performance can use the fourth or fifth method.

Baidu cloud disk can be expanded to 2T for free, and if a high-definition movie 4G, a cloud disk account can hold 512, which is already quite impressive. However, the playback effects provided by WP2PCS are not high definition, but transcoded. So, it can't be better to use it for online preview and playback.

At this point, I believe you have a deeper understanding of "what are the free ways to build your own online video broadcasting station". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report