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 kennyboom99
      hi Guys,
      My lg tv when set to live tv will show full screen for around 20 seconds and then show a very small shrunk screen in the top left corner of the channel
      i can switch channels but the screen stays mall
      netflix displays in full screen
      picutre test shows full screen
      i have tried resetting the tv, power cycling, changing cables (coax) and nothing is making a difference.
      anyone have any ideas on what causes this?
       
      this is what the screen looks like 
      link hidden, please login to view  
      any help is much appreciated
       
       
    • By Ozzie T
      We have a 65UM7300AUE with software version 05.40.10. We have a Google TV dongle plugged into the HDMI 1 port and that is the input we use most of the time. Until recently every time we would turn the TV on it would default to HDMI 1 and the Google TV home screen would be the first thing we’d see. Life was good. Several weeks ago that changed and now the LG OS (I assume) home screen is the first thing we see. Then we have to use the LG remote to select HDMI 1 each time. We never used to have to do this or use the LG remote at all. Kind of annoying. We think we have HDMI 1 chosen as our default input but it doesn’t seem to matter. Any ideas on how we get things back to the way they used to be with the TV defaulting to HDMI 1 automatically?
    • 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 Mayoor28
      Need to check My OTT App memory management and consumption on the app launch itself.

       
    • By JLO
      Hello, I'm really disappointed that my new 4k TV model 2023 is not able to play goPro video in default high resolution. As I see from properties it has got 5312 x 2988 30fps, bit rate 190kbps audio 48kHz. Does not matter I tried it direcly from SD card or remote bluetooth cast, it says wrong format... Only I can view goPro static pictures and just thumbnails of mp4 videos... Of course, there are some older guide how to convert mp4 video to lowerr resolution etc. But I do not understand why to do it.. Any other Windows or Android devices can do it, include the 10 years old ones... It really cripples my brand new 4k TV, please help. Just I'm afraid only a firmware update can solve it. Thank you.
×
×
  • Create New...