-
I was trying to figure out what parameters are needed for the Clearkey keyid/key in protData const to be properly used. Normal format is:
The reason I ask in that I'm trying to have a script automatically supply those values. But I have been trying to pull them via js variables when the page loads, in an attempt to not have the keyid/key just sitting in for anyone to look by click view source: But when trying this last method, I always seem to get a "Invalid state error". Is it always: Or could it be |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Solved it myself, and wanted to share! |
Beta Was this translation helpful? Give feedback.
Solved it myself, and wanted to share!
const protData = { "org.w3.clearkey": { "clearkeys": { [keyid]: key }, } };