Results 1 to 2 of 2

Thread: Adding JW FLV Media Player to a CMPS Module

  1. #1
    Join Date
    Apr 2007
    Canada (NS)

    Angry Adding JW FLV Media Player to a CMPS Module

    Hi folks, I am looking for some help. I can't seem to get JW FLV Media Player to display anywhere except the top of the page when I add it to a module.

    For ref I will provide resource links:

    Media Player Site
    Working (stand alone) on my site

    The code of modules/video.htm:
    	<p>Please bear with me as I fight with the code to try to get this video to display where I want it to. <br />
    <br />
    Thanks,<br /><br />
    Kevin</p><div id="container"><a href="">Get the Flash Player</a> to see this player.</div>
    	<script type="text/javascript" src="../video/swfobject.js"></script>
    	<script type="text/javascript">
    		var s1 = new SWFObject("../video/player.swf","ply","492","300","3","#FFFFFF");
    The steps I took were to upload video.htm to the /modules directory and then I created a new module in Admin Control Panel > vBa CPMS > Add Module. I selected PHP File Module, named it, selected video.htm as the file to include, and ensured the 'Use Module Wrapper Template' option was selected.

    I then added the module to my front page, center column, and set it's position to 60 to place it at the bottom of the center column (for testing).

    When I load the front page the video is not positioned in the center column, it is at the very top of the page. Please tell me what I am doing wrong! I would like to display this video on the front page of my site in a module.

    Many thanks for any help!
    I love my job.. my office is an airplane!

  2. #2
    Join Date
    Apr 2007
    Canada (NS)


    I found the solution myself and thought it best to share. It boiled down to 'RTFM'.

    Clean File Output
    If your are trying to include a PHP file that was not written specifically for vBulletin or vBadvanced, it may be necessary to "clean" the output of this file. If you add a module and the content prints out as the first thing on the top your page, this is a good indication that it needs to be cleaned.
    After selecting YES the module displayed right where it was supposed to.

    I hope that sharing this experience helps someone else through a similar problem.
    I love my job.. my office is an airplane!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. GBrick Media Player and VBAdvanced
    By naeemakhtar in forum "How Do I..." Questions
    Replies: 3
    Last Post: 07-15-2008, 03:44 PM
  2. media player?
    By Carsten in forum "How Do I..." Questions
    Replies: 3
    Last Post: 10-04-2007, 12:11 PM
  3. Need Media Player Module
    By berattus in forum Module & Modification Discussion & Requests
    Replies: 2
    Last Post: 03-08-2007, 08:32 AM
  4. Music Player Module
    By MightyShadow in forum "How Do I..." Questions
    Replies: 4
    Last Post: 02-03-2006, 02:14 AM
  5. How to Create a New Module with the Following Burst Media Ad Banner Code
    By bchow in forum Add-On Modules & Modifications
    Replies: 4
    Last Post: 01-04-2005, 11:48 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts