Skip to main content
Home
Blog

Main navigation

  • Home
User account menu
  • Log in

Breadcrumb

  1. Home
  2. MosModule FAQ

MosModule: How to embed video in content?

By ongetc , 4 October, 2009

With MosModule, it is very easy! You just use the "video" or "flash" command to embed video like this:

{mosmodule video=URLtoVideo}
or
{mosmodule flash=PathToLocalFlashFile}

Here are some working example streaming video from local file and from YouTube, Yahoo Video, Google Video.

Video from local swf file

{mosmodule flash=files/bamboo.swf,300,300}

Video from YouTube

For example:



Get the "src" and enter like below:

{mosmodule video=http://www.youtube.com/v/1jyK3j0rqAk,300,300}

Video from Yahoo

Note: You will need to do a little extra work to figure out the correct url to put into MosModule.

For example:

/embed >

You will need to add the value that you get from the "src" and "flashVars" together like below:

{mosmodule video=http://d.yimg.com/static.video.yahoo.com/yep/YV_YEP.swf?ver=2.2.46&id=1…}

Video from Google

For example:


Get the "src" and enter like below:

{mosmodule video=http://www.youtube.com/v/qpaTYFl3IzE&color1=0xb1b1b1&color2=0xcfcfcf&fe…}

Please see a working sample here: http://support.ongetc.com/index.php?option=com_content&task=view&id=245…

Book traversal links for MosModule FAQ

  • MosModule: Grabpage command
  • Up
  • MosModule: How to embed video w/ ReMository?
  • Printer-friendly version

Reseller hosting (free)

Hosting24 (w/ ssh)

A2 Hosting

Monthly archive

  • September 2009 (14)
  • October 2009 (11)
  • January 2010 (2)
  • June 2010 (3)
  • October 2011 (1)
  • March 2012 (1)
  • July 2012 (1)
  • February 2017 (564)
  • March 2017 (5)
  • April 2017 (2)

Pagination

  • 1
  • Next page

Popular content

Last viewed:

  • MosModule: Can MosModule be used in custom HTML module?
  • Dotclear
  • CFWheels
  • MosModule
  • TheHostingTool
  • Wheatblog
  • CodeIgniter
  • Bitweaver
  • MosModule FAQ
  • Why I got "Your domain is not pointing to our name servers at the moment.."?

User login

  • Reset your password