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

Posted

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");
            }
        }
        }
       })

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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 NickL
      Hi,
      I recently bought an LG UK6500PLA TV (my first LG), but I have a difficult time streaming content (Wifi connected), e.g. Netflix series is streaming in low resolution.  The router is only 10 feet away from TV (but ethernet is not an option) and uses a 5GH frequency range.
      I have tried making a speed test at fast.com, for both the TV (through the Webbrowser) and for my laptop and iPhone. The speed test for TV showed 2.5 Mbps and my laptop and iPhone showed 110 Mbps. Can there really be such a big difference? I am starting to wonder if this might be a warranty issue?
      Do any of you guys have experience with bad Wifi reception on your LG TV or have any suggestions on how to fix it? 
       
      Br,
      Nick
    • 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 Rex G
      It starts ok but when I select a program it just sits there with the 'wheel' turning. It works ok on my phone and ipad. Have tried updating tv operating system and iview app but they seem to be at the latest version. Anyone else having problems?
       
    • By murastefano
      How to show video cover art on  SmartShare on WebOS ?
       
      I have many movies, mp4 or mkv file with cover art muxed,  but SmartShare
      show only a randomic picture taken from movie as preview.
       
      I'm not on DLNA but in HDD on USB 3.0 port so not using media servers like Windows or Plex.
       
      Where do i have to put cover arts? Side-by-side in same directory of the file with same name like: movie1.mp4 - cover1.jpg ?
       
      Anyone successed to get cover art showing?
       
       
      Thanks
       
       
    • By Charlie F
      I’ve just got home after being away 2 years, and got the tv out of storage. When we try and watch the news live in the. Morning every few minutes the video and sound stop and then after a few seconds the circle appears and starts spinning. Then the program starts again and it’s fine for a little while, and then it stops again.
      I have checked for updates of the TV OS and iView (2021 is the latest)
      If I use iView on my iOS device and then airplay it to the tv it works fine with no problems. If I watch any program on iview that would have been prerecorded, even if I’m watching it “live” it’s fine.
      I see a few people were having a problem with all iView programs back in 2022, but they resolved. 
       
      can anybody suggest any solutions?
       
      Thanks
      Charlie
×
×
  • Create New...