Results 1 to 1 of 1

Thread: Changing the video player on classipress

  1. #1
    Thread Starter
    stephenoconnor's Avatar
    Join Date
    Mar 2012
    Thanked 7 Times in 5 Posts

    Changing the video player on classipress

    I have a plugin/mod installed from for uploading a video into the

    ad. Currently it uses a basic video player and uses the following code to

    launch the player in single-ad_listing.php

    $video_url = get_post_meta($post->ID, 'cp_video', false) ;
    echo '<strong>Video</strong>';
    $video_player = get_bloginfo

    ('stylesheet_directory') .'/player/video-player.swf';
    $thumb_path = substr($video_url[0], 0, -4)

    . '.jpg';

    id="player" classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" name="player"

    width="500" height="315">

    <param name="movie" value="<?php echo $video_player ?>" />

    <param name="allowfullscreen" value="true" />

    <param name="allowscriptaccess" value="always" />

    <param name="flashvars" value="file=<?php echo $video_url[0] ?>" />





    src="<?php echo $video_player ?>"





    flashvars="file=<?php echo $video_url[0] ?>&image=<?php echo

    $thumb_path ?>"



    I want to use the free hdwebplayer for wordpress from here:

    So I installed this player in wordpress. I also uploaded the whole hdwebplayer

    folder into my child theme and referred to it in the above code by changing

    this line:


    into this line:


    as this is the location of the new player.

    The ad loads the video player but doesn't load the videos see example here:

    Does anyone know why that might be?

    I am really not a coder and have hardly any skills in this area so I am hacking

    my way through it.

    Any help much appreciated - email me at

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. classipress multisite with video mod and multi city/state
    By angash4family in forum ClassiPress General Discussion
    Replies: 1
    Last Post: August 4th, 2012, 12:18 PM
  2. Replies: 3
    Last Post: June 5th, 2012, 03:06 PM
  3. How to add Video And Audio To Classipress
    By olafshiel in forum ClassiPress General Discussion
    Replies: 1
    Last Post: November 19th, 2011, 08:04 AM
  4. Using Classipress with Video Script like YouTube
    By frantv in forum ClassiPress General Discussion
    Replies: 1
    Last Post: July 14th, 2010, 02:46 AM