This example uses the shortcode,
Activating WP Video Enhanced plugin, allows you to play HTTP Live Streaming (HLS) and M(PEG)-DASH files using the WordPress
[video] shortcode. Kindly refer the supported attributes below,
- src – You can add both your HLS and M(PEG)-DASH feeds simply by using this attribute.
- m3u8 – You can also add your HLS feed using this attribute. Useful when you like to add both the feeds as one falback to another.
- mpd – Like HLS feed, you can use this attribute to add a M(PEG)-DASH stream. Useful when you like to add both the feeds as one falback to another.
- live – “true” or “false.” When used with the value “true”, a small text “Live Broadcast” is displayed in place of the player’s progress bar. So, the users can understand that the video played is Live.
[video src="https://mysite.com/stream.m3u8"]– HLS only
[video m3u8="https://mysite.com/stream.m3u8" mpd="https://mysite.com/stream.mpd"]– Adding Both HLS & M(PEG)-DASH streams
[video src="https://mysite.com/stream.mpd" live="true"]– Is a Live Stream?