Embedding Media Player Problem

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
tcustomgolf

Embedding Media Player Problem

Post by tcustomgolf »

I'm trying to embed Windows Media Player in one of my pages to display video on a clients site using the below code:










and all works fine.  But the problem is when I add this code on a page through the admin using the source button, the command disappears.  This is needed for Netscape support.  Any reason after clicking apply and going back into the source that everything between (and including) the EMBED tags is gone?  What remains is below (w/o the embed tags, and it switches variables around):






User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Embedding Media Player Problem

Post by Dr.CSS »

embed in CMSMS is a tag like so {embed} and is used in the template/page, as per the embed Help... so using it as   they may be messing with each other...

Help for the embed tag
What does this do?

Enable inclusion (embeding) of any other application into the CMS. The most usual use could be a forum. This implementation is using IFRAMES so older browsers can have problems. Sorry bu this is the only known way that works without modifing the embeded application.
How do I use it?

Just insert the tag into your template/page like: {embed}
What parameters does it take?

    * (required)url - the url to be included
    * (optional)header=true - this will generate the header code for good resizing of the IFRAME.

You must include in your page {embed url=..} and in the header section (advanced tab) you must put {embed header=true}
Locked

Return to “CMSMS Core”