Quantcast
Jump to content

Recommended Posts

Posted

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 (

link hidden, please login to view
).

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)?

 

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.

 

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.




×
×
  • Create New...