Quantcast
Jump to content

live streaming and .m3u8 video is working in firefox but video not showing in LG Webos emulator 3.0


Recommended Posts

i am using hlc to play streaming video and .m3u8 video  in webos emulator 3.0 and in firefox. In firefox video is showing and working fine but in webos it is not showing anything. only getting current time and duration. what change does i need for webos emulator 3.0.

 

 

factory('playVideoFactory', function (SessionData) {
        var i = 0;
        return {
        playVideoFunc: function (type, path, callBack, 
         clearIntervalCallBackFunc) {
                            if (Hls.isSupported()) {
                console.log("hls is supported");
                var video = document.getElementById(type);
                var hls = new Hls();
                hls.loadSource(path);
                hls.attachMedia(video);
                                console.log("hls");
                hls.on(Hls.Events.MANIFEST_PARSED, function () {
                    video.play();
                });
                var videoDurationInfo = setInterval(function () {
                    callBack(video.duration, video.currentTime);
                                }, 1000);
                clearIntervalCallBackFunc(videoDurationInfo)
            } else {
                console.log("hls is not supported");
            }
        }
        }
       })
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Similar Topics

    • By Matheakuena
      Installation of Showmax onto my LG TV is not working. The guide is not working.
    • By NaveenKumar
      Latest version of sun NXT app version 8.0.20 is not working for web os  Tv version 4.4.2-11 plz do the needful full & Airtel Xstream is not found in your web os platform kindly check on that too
    • By Roy Brown
      webOS updated, I think to 2023, on my C2 a couple of days ago. Since then the News option on the Sky News app no longer works, instead timing out. The Weather and Climate options still work, though.
      I have deleted and reloaded the Sky News app, but the problem remains.
      Does anybody have any suggestions of what I might try to get this working again, or is this something for LG, or Sky, to fix?
    • By Stuart GIBSON
      I have a 48" OLED (Model: OLED48A26LA).  after updating to software version 13.30.61 the Sky New Live feed just displays "There was a problem with this video [timeout]".  It worked perfectly before the TV software upgrade.
      Ive reinstalled the Sky News app but still doesnt work.  wifi etc is all ok.
      Any ideas?  
      Stuart
       
    • By Joe Wong
      My LG 50 inch Model: 50NANO75UPA HDMI Arc stopped working with my Vizio soundbar. It worked very well when I first connected it until this morning. I purchased an extended warranty, but is there a known solution before I send out for help? It is definitely the LG Tv, and not the soundbar because I used to have a Samsung soundbar, which worked only for about a week before the HDMI Arc stopped working and I switched over to the Optical. Now even the Optical does not work That's why I bought a Vizio.
×
×
  • Create New...