Skip to content

LiveLinks Plugin

Daniel Neto edited this page Oct 4, 2024 · 2 revisions

The purpose of this plugin is to allow you to add external links in the m3u8 format (HLS format). It is commonly used for IPTVs or other livestream providers (like Wowza) that provide links in this format.

When you register a new live stream using this plugin, you have the option to schedule it ("Starts on" and "End on") so the link will display only during the specified period. Alternatively, you can set very long dates (such as 50 years) so that the link remains available 24/7.

The external link will behave like a regular live stream (similar to the built-in Nginx setup on AVideo). It will appear in the top notification bar and on the main page if you are using the Gallery theme, making it look like a typical live stream.

Embed URL Support

In addition to m3u8 links, the plugin also supports embedding URLs from other platforms. When you use an m3u8 link or an embed URL, it will still trigger the live notification system and appear like a live stream on the platform. This is particularly useful if you wish to embed live streams from external platforms like YouTube or other streaming services and display them as live events within your AVideo platform.

Important Information

  • HTTP vs. HTTPS: Always verify if your website is using HTTP or HTTPS.

    • If your site is HTTP: You can use both HTTP and HTTPS m3u8 links.
    • If your site is HTTPS: You must use only valid HTTPS links. Self-signed or expired certificates will not work.

    HTTPS is highly recommended for SEO purposes, as it is a ranking factor in search engines like Google. It is also essential for security and user trust. Sites using HTTPS generally rank higher than those using HTTP.

  • Ranking and Security: HTTPS is strongly advised for any serious website that wants to maintain good SEO and security standards. HTTP should only be used if ranking is not a concern for you.

Can I Have Both HTTP and HTTPS on My Website?

No, you cannot have both HTTP and HTTPS protocols running simultaneously for the same content due to browser security policies. This is not an AVideo limitation, but rather a browser security limitation called mixed content blocking. Browsers prevent insecure (HTTP) content from being loaded into secure (HTTPS) environments to protect users from potential security threats.

When a website is served over HTTPS, the browser expects all resources (like videos, images, stylesheets, and scripts) to also be served over HTTPS. If any resource is served over HTTP, the browser blocks it to ensure that the entire page remains secure. This is what leads to "mixed content" errors when attempting to load HTTP resources on an HTTPS site.

To avoid these issues, it is highly recommended to run your entire site over HTTPS, which not only improves security but also helps with search engine rankings.

Clone this wiki locally