" /> " /> "/>

TechQA.

Embed m3u8 with flowplayer using JS

8.4k views Asked by ihtus At 2015-06-15T18:20:04+00:00 15 June 2015 at 18:20 2025-12-23T18:26:40+00:00

Here is an example how to embed m3u8 with flowplayer.

<div data-live="true" data-ratio="0.5625" class="flowplayer play-button fixed-controls">
    <video>
        <source type="application/x-mpegurl" src="http://wms.shared.streamshow.it/telesanremo/telesanremo/playlist.m3u8" data-title="Live stream">
    </video>
</div>

Embedding RTMP using JS method:

flowplayer("player", "http://releases.flowplayer.org/swf/flowplayer-3.2.18.swf", {
    clip: {
        url: 'streamname', 
        live: 'true', 
        provider: 'rtmp' 
    },
    plugins: {
        rtmp: {
            url: 'flowplayer.rtmp-3.2.13.swf', 
            netConnectionUrl: 'rtmp://some_rtmp_link'
        } 
    } 
});

My question: is there a JavaScript or jQuery method to embed m3u8, like in RTMP example?

http-live-streaming live-streaming flowplayer m3u8
Original Q&A
1

There are 1 answers

0
ihtus ihtus On 2015-06-19T20:21:51+00:00 19 June 2015 at 20:21 BEST ANSWER

I found the answer:

HTML:

<div id="player" class="fixed-controls"  style="width:600px; height:338px;"></div>

JS:

var api = flowplayer("#player", {
    live: true,
    splash: true,
    clip: {
        sources: [
            {
                type: "application/x-mpegurl",
                src: "http://srv6.zoeweb.tv:1935/z330-live/stream/playlist.m3u8"
            }
        ],
        title: "LiveStream"
    },
    embed: {
        skin: "http://releases.flowplayer.org/6.0.1/skin/bauhaus.css"
    }
});

Related Questions in HTTP-LIVE-STREAMING

  • HLS live stream not play on Google nest hub 1 Gen
  • Streamingplatform with Unity, Nodejs and Nextjs
  • controlling the speed of the hls play list, generated by ffmpeg
  • Unable to embed a local HLS stream into a browser
  • Screen Capture API _ Set a specific Screen
  • HLS.js get video size from codec
  • Why does this m3u8 list cannot be played by shaka player?
  • Output varibale is not scalar. Matlab. HDL Coder
  • How can I transcode video to HLS version 3 using Google Transcoder?
  • WEBVTT into HLS does not work anymore on last iOS version
  • HLS (HTTP Live Streaming), m3u8 Url 403 issue, works on extension but not when running locally
  • Troubleshooting HLS Streaming Setup in Nginx: 404 (Not Found) Error
  • Integrate agora as RTM service for livestreaming/ broadcasting
  • AVAssetImageGenerator with Fairplay/DRM
  • Converting mp3 to hls with gstreamer

Related Questions in LIVE-STREAMING

  • Streamingplatform with Unity, Nodejs and Nextjs
  • Janus WEBRTC issue on media stream conection stability
  • Android - RTSP Streaming from Camera and view from remote location
  • Sometimes when video is encoded using the Video Toolbox Encoder for web live streaming, the decoder output always has a 4 frame latency
  • Live video using Youtube Live Streaming Api [Python]
  • Check if Status changed from offline to live problems
  • HLS (HTTP Live Streaming), m3u8 Url 403 issue, works on extension but not when running locally
  • Automating Copyrighted Music Silencing in YouTube Videos Using the YouTube API
  • aws ivs live stream does not work on ios devices (Web)
  • Why FPS (frames per second) dropped after I added a 30ms delay between frames sending to client using RTC in python?
  • FFMPEG and Newtek NDI
  • Read RTMP stream in flutter
  • Mediasoup recording with Gstreamer has error
  • does vimeo api support live streaming from camera?
  • How to stream byte array data into androidx.media3.exoplayer?

Related Questions in FLOWPLAYER

  • Chrome not playing mp4 video embedded with Flowplayer (tried diff video formats)?
  • Scraping and downloading M4S Segmented Audio & Video Files
  • Is there any way to add multliple quality sources to flowplayer in Angular
  • Why is ffmpeg output video contrast / brightness too bright?
  • How to restrict fetching hls segment files on pause in Safari (MacOS and iOS)
  • Correct way to cancel eventListeners with nextjs, react and flowplayer
  • Type error: Property 'currentTime' does not exist on type 'EventTarget & HTMLInputElement'
  • How to process .ts files used by flowplayer?
  • Flowplayer: Cannot read property 'play' of undefined
  • How to create onclick events for video embedded using the Flowplayer javascript API?
  • How to enable videos to play only from a particular domain
  • FlowPlayer is overlapping with the default HTML5 player on Firefox
  • Muted Autoplay video shows error: play() failed because the user didn't interact with the document first.
  • How To Change href content dynamically on page load
  • Concatenate two video files to single video in players

Related Questions in M3U8

  • SubtitleOctopus how to use octopus subtiles in m3u8 files
  • convert m3u FILE to m3u8 URL
  • HLS (HTTP Live Streaming), m3u8 Url 403 issue, works on extension but not when running locally
  • Using gstreamer to record an m3u8 stream
  • How to download Widevine encrypted m3u8 stream
  • How to save .m3u8 file to local disk in swift?
  • Dont start automatic transmition
  • how can i show iframe from m3u8, when user hover the player's timeline
  • M3U8 Downloading with YT-DLP by passing data as a parameter
  • How to get m3u8 playlist from yotube video link?
  • Media3/Exoplayer CMAF LL-HLS Playlist correct LoadControl values for smooth streaming
  • How does this site prevent users from downloading videos?
  • How to download a video from vidyard that I have access for
  • Strange behaviour with Dynamic M3U8 Live Stream in Flutter using Just_Audio
  • Is react-native-video supports HLS video format in android?

Popular Questions

  • How do I undo the most recent local commits in Git?
  • How can I remove a specific item from an array in JavaScript?
  • How do I delete a Git branch locally and remotely?
  • Find all files containing a specific text (string) on Linux?
  • How do I revert a Git repository to a previous commit?
  • How do I create an HTML button that acts like a link?
  • How do I check out a remote Git branch?
  • How do I force "git pull" to overwrite local files?
  • How do I list all files of a directory?
  • How to check whether a string contains a substring in JavaScript?
  • How do I redirect to another webpage?
  • How can I iterate over rows in a Pandas DataFrame?
  • How do I convert a String to an int in Java?
  • Does Python have a string 'contains' substring method?
  • How do I check if a string contains a specific word?

Trending Questions

  • UIImageView Frame Doesn't Reflect Constraints
  • Is it possible to use adb commands to click on a view by finding its ID?
  • How to create a new web character symbol recognizable by html/javascript?
  • Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
  • Heap Gives Page Fault
  • Connect ffmpeg to Visual Studio 2008
  • Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
  • How to avoid default initialization of objects in std::vector?
  • second argument of the command line arguments in a format other than char** argv or char* argv[]
  • How to improve efficiency of algorithm which generates next lexicographic permutation?
  • Navigating to the another actvity app getting crash in android
  • How to read the particular message format in android and store in sqlite database?
  • Resetting inventory status after order is cancelled
  • Efficiently compute powers of X in SSE/AVX
  • Insert into an external database using ajax and php : POST 500 (Internal Server Error)
  • Privacy
  • Terms
  • Cookies
  • Homegardensmart
  • Math
  • Aftereffectstemplates