Welcome to LG webOS - Smart TV, Phone, Signage, Appliance User to User Support Forum

Register now to gain access to our webOS user support forum. Once registered and logged in, you will be able to post a user to user support request topic to this site or reply to existing topics posted by other users. You can also take part in our other webOS user forums. You'll be able to customize your profile, receive reputation points, while also communicating with other members via your own private inbox, plus much more!

This message will be removed once you have signed in.

webosndcdev

Members
  • Content count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

About webosndcdev

  • Rank
    Newbie
  • Birthday

  1. 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.com/webOSTV/develop/web-app/app-developer-guide/playing-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.lgappstv.com/TV_HELP/index.jsp?topic=%2Flge.tvsdk.developing.book%2Fhtml%2FAPI%2FAPI%2FMethods11.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.