Hello!
I'm embedding video in a web page.
I get the following error: 0x80004005 - JavaScript runtime error: Invalid parameter: The MPClientXML pointer is null in createView.
I was guided by: https://d1nmyq4gcgsfi5.cloudfront.net/fileMedia/d09e257d-4509-47d0-946c-ca703c7489f3/VSM%207%20API%20Reference%20Document.pdf
My code:
<object name="mpc" id="mpc" width=800 height=600
classid="clsid:0742ED02-DC80-4615-B017-8F6766C52700">
</object>
<script>
mpc.createView("@ViewBag.STR");
</script>
@ViewBag.STR - this is an xml file. I enclose the code in the attachment (img2).
May be there is not enough what is javascript library?
Tell me how to embed a video on a web page? Are there any examples?