SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    May 2003
    0 Post(s)
    0 Thread(s)

    Question Video doesn't play on production site but play at my machine

    My old client came to me and complains their videos don't play anymore after they migrated their site to a new hosting company. The site is at You can see a video in the featured video section at the bottom.

    I have tried every possible configuration that they could be miss during the migration, like file & directory permission, corrupt video files (which are not), MIME-type available on host (which is OK) or my script (which is working) but cannot find any solution. My last guess is that the player is outdated somehow, but in my development machines the videos are working fine.

    Thank you in advance.

  2. #2
    SitePoint Zealot Sogo7's Avatar
    Join Date
    May 2011
    1 Post(s)
    0 Thread(s)
    After seeing the flv file names it looks like you are using a random rename script to prevent hotlinking.
    Check the server side code for a missing or mistyped 'echo' statement as you are missing the name of the flv file to be played from the page HTML.

    This is what the homepage shows
    PHP Code:
    <embed width="341" height="271" type="application/x-shockwave-flash" pluginspage="" quality="high" src="objects/flvplayer.swf?fvideo=../uploadimages/flv/&autoStart=false&showFs=true&loop=true"

    Here is an example of another video from your site that does work
    PHP Code:
    <embed width="343" height="271" type="application/x-shockwave-flash" pluginspage="" quality="high" src="objects/flvplayer.swf?fvideo=../uploadimages/flv/5560711994d09a403804e2.flv&autoStart=false&showFs=true&loop=true" Personal Projects Pit - Spammers welcome

Tags for this Thread


Posting Permissions

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