Quantcast
Jump to content

Webos Media player


Recommended Posts

Hi,

I want read a video streaming using "com-webos-media", it work good in emulator, but in real TV device it show a black screen without response.

My code

 

webOS.service.request("luna://com.webos.media", {
            method: "load",
            parameters: {
                "uri":"test.mp4",
                "type":"media",
                "payload":{  
                    "option":{  
                        "appId":"com.webos.app.enactbrowser",
                        "windowId":"_Window_Id_2"
                    }
                }
            },
            onSuccess: function (args) {
                webOS.service.request("luna://com.webos.media", {
                    method: "play",
                    parameters: {
                        "mediaId":args.mediaId
                    },
                    onSuccess: function (args) {
                        console.log(args);
 
                    },
                    onFailure: function (args) {
                        console.error(args);
                    },
                    loadCompleted: function () {
                        console.log("loadCompleted");
                    }
                });
            },
            onFailure: function (args) {
                console.error(args);
            }
        });

Please help me.

Thanks

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 Nick Payne
      I can stream ABC content using either the iView app on our LG G1 65" OLED, or via the iView Android TV app that is installed on a Chromecast with Google TV that is plugged into one of the G1 HDMI ports. If I stream content using the app on the TV, every few minutes there's a momentary (fraction of a second) interruption to both sound and video. If I stream the same content using the app on the Chromecast, I get no such interruptions. Both TV and Chromecast are using wired Ethernet connections to the same switch, so I can't see that these interruptions are due to a network problem, or I'd see them on both devices. It would seem to be a problem with the app provided on the TV. Other streaming services that we access via apps on the TV (Netflix, Stan, Amazon Prime, etc) do not show the same problem.
    • By OrlandoSux
      I'm not sure what changed (maybe my kid playing with the remote), but now when I press the TV button on my remote, I am taken to the Life's Good Hub instead of antenna TV. I have to wait for it to load and then exit the app. I never installed this app. I have reset my TV to factory settings and infuriatingly still can't get to antenna TV by pressing TV.
      Can I remove the Life's Good Hub somehow or reprogram what the button ony remote does? 
       
      My TV is a up7670puc
    • By H_Rovy
      I want to be able to turn on my TV without it automatically launching a cable channel. ( or repeatedly asking me if I want to turn on the cable box).  Is there any way to "just' start with the home screen? Also when I've been watching something (app or cable) and go back to Home screen, it will go back to what I was watching if there is no input for a minute or so. grrrr. so annoying
    • By CpRivers
      I am looking for an app that will allow me to play videos from a shared folder on another computer, something like VLC. Is there an app for the LG to do this? I haven't been able to find anything. I set up the Media Center on the other computer but it doesn't work right and can't see all the available videos. I just want to be able to browse a shared folder.
       
      Chuck
    • By fishy666
      The NEW Amazon Prime Video App update is horrible. Cannot access any content from my Shudder channel subscription. Constant errors.

×
×
  • Create New...