none
Media Player - SharePoint 2007

    Question

  • How do I create a OOTB media player in a job position where the only code I can use is javascript? I've used javascript in a CEWP but I can't think of how to use it for the Media Player.  I can not use custom code as in Visio Studio or Silverlight.
    Brandon Gunter
    • Moved by Mike Walsh FIN Tuesday, August 23, 2011 5:45 PM cust (From:SharePoint - Setup, Upgrade, Administration and Operation (pre-SharePoint 2010))
    Tuesday, August 23, 2011 5:02 PM

Answers

  • can you explain a bit more on your requirement?

    See somelinks http://www.mioplanet.com/rsc/embed_mediaplayer.htm

    http://equivalence.co.uk/archives/1194

    I can suggest you this.

    1. Using sharepoint content editor webpart you can render a hidden input box with value to your media file URL
    2. Write a javascript method to read that input box value on load and then pass it into another method that will open a new window.
    3. In that new window page you can write a simple embed object tag and the URL of the media file will be placed from the method parameter.

    Thanks & Regards, Soumyadev | Posting is provided "AS IS" with no warranties, and confers no rights.
    Wednesday, August 24, 2011 12:19 AM