Roku Direct Publisher

Roku Direct Publisher - the easiest way to create a great TV experience. Learn more about how to create a Roku channel and share your experiences with others.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Channel Surfer

Widevine DRM is not working


I'm trying to activate widevine drm in the player as it says in the documentation (, but it still doesn't work. I have also added the lines to the manifest.


The code:


if streaming.licenseUrl <> invalid
        drmParams = {
            licenseServerURL: streaming.licenseUrl.widevine
            keySystem: "Widevine"
        m.child[0].drmParams = drmParams
    end if
    if streaming.url <> invalid
        m.child[0].url = streaming.url

        node = CreateObject("roSGNode", "ContentNode")
        node.Update({children: m.child}, true)

        m.videoPlayer.content = node
        m.videoPlayer.enableUI = false
        m.videoPlayer.contentIsPlaylist = true

        m.videoPlayer.control = "play"
        m.videoPlayer.ObserveField("state", "OnVideoPlayerStateChange")
        m.videoPlayer.ObserveField("visible", "OnVideoVisibleChange")
    end if

I am doing something wrong? Or am I missing something to add?


0 Kudos
Community Streaming Expert

Re: Widevine DRM is not working

You've posted to a forum for Roku users, where few, if any, will be able to help. The Developers forums are a couple of doors down the hall:

Roku Community Streaming Expert
I am not a Roku employee, only a user like you.  Please, no support questions via private message -- post them publicly to the Community where others may benefit as well.
If this post solves your problem please help others find this answer by clicking "Accept as Solution.".

Ultra 4800 | Streaming Stick 4K+ 3821 | TCL Roku TV 43S245/C107X
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.