Quantcast

Jump to content

Slate Cloud Plum Berry Lawn Lime Orange Coco

Welcome webOS Fan, Sign Up Free!


Create Account Sign In
This is LG webOS, which stands for "Lets Go webOS", a site dedicated to webOS and its fans. Like most online communities you must register to take part and post in this forum. This is a fast and free process that requires minimal information from you. Be a part of LG webOS by signing in or creating an account. You can also use your Facebook or Twitter account to make it even easier!
 

Photo

Problem playting video Manifest


  • Please log in to reply
No replies to this topic

#1 webosndcdev

webosndcdev

    Newbie

  • Members
  • Pip
  • 1 posts

Posted April 17, 2016 - 09:13 AM

Hi everybody,

I developed a webapp for LG WebOS (without using Enyo).

I've already did it with LG Netcast, but now I'm having some problems with WebOS.

I've followed this guide in order to play manifest (ism) HLS Playready Encripted videos (http://developer.lge...ng-drm-content/).

The problem is that the target video in the guide is .mp4, while I need to play ism manifest video.

 

Can someone help me to complete the last steps? I've used the "sendDrmMessage" method with success response and then I can't continue.

I've already done it with LG Netcast, but there it was easier.

Is it a possible valid snippet (found on Netcast dev doc)?

 

http://developer.lga...I/Methods11.htm

drmAgent.onDRMMessageResult = function(msgId, resultMsg, resultCode)

{

    if (resultCode == 0){

        var videoPlayer = document.getElementById("VideoPlayer");

        videoPlayer.data = "http://content.contoso.com/drmed/smoothstreamingcontent.ism/manifest";

        videoPlayer.play(1);

    }

    else{

        console.log("download failed. erreur:" + resultCode);

    }

}

Thanks a lot.

 









0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users