Divx web player help

Whether you're a newbie or an experienced programmer, any questions, help, or just talk of any language will be welcomed here.

Moderator: Coders of Rage

Post Reply
User avatar
jtst1
Chaos Rift Cool Newbie
Chaos Rift Cool Newbie
Posts: 80
Joined: Tue Sep 30, 2008 4:32 pm
Location: Atlanta Georgia

Divx web player help

Post by jtst1 »

Alrighty, so I haven't posted here in a bit, and it feels nice to. Well I have run into a little problem while I was trying to remake my old website server. I was hosting some videos on it, using divx to play them right on my site. Well now they won't work, and say "Cannot download, check internet connection." I was wondering if anyone can help?

my website is http://aphreakingsite.webhop.org

Thank ya in advance.
When One learns to Love, One must bear the risk of Hatred.
pritam
Chaos Rift Demigod
Chaos Rift Demigod
Posts: 991
Joined: Thu Nov 13, 2008 3:16 pm
Current Project: Elysian Shadows
Favorite Gaming Platforms: Amiga, PSOne, NDS
Programming Language of Choice: C++
Location: Sweden

Re: Divx web player help

Post by pritam »

Took a look at your source and spotted what the problem probably is. The original source:

Code: Select all

    <select name="movie" onChange="javascript:openNewMovie();" size="1">
      <option value="" selected>
      <option value="http://aphreakingsite.webhop.org\movies\vids\Eragon.divx">Eragon
		<option value="http://aphreakingsite.webhop.org\movies\vids\Iron Man.avi">Iron Man
		</option>

		<option value="http://aphreakingsite.webhop.org\movies\vids\Slumdog Millionaire.avi">Slumdog Millionair
		</option>
		<option value="http://aphreakingsite.webhop.org\movies\vids\Taken.avi">Taken
		</option>
		<option value="http://aphreakingsite.webhop.org\movies\vids\Twilight.avi">Twilight
		</option>
    </select>
The cleanup:

Code: Select all

<select name="movie" onChange="javascript:openNewMovie();" size="1">
	<option value="" selected>Select video</option>
	<option value="http://aphreakingsite.webhop.org\movies\vids\Eragon.divx">Eragon</option>
	<option value="http://aphreakingsite.webhop.org\movies\vids\Iron Man.avi">Iron Man</option>
	<option value="http://aphreakingsite.webhop.org\movies\vids\Slumdog Millionaire.avi">Slumdog Millionair</option>
	<option value="http://aphreakingsite.webhop.org\movies\vids\Taken.avi">Taken</option>
	<option value="http://aphreakingsite.webhop.org\movies\vids\Twilight.avi">Twilight</option>
</select>
If you look at the URLs -> [http://aphreakingsite.webhop.org\movies\vids\Iron Man.avi] you'll notice that you're using \ slashes and that's probably why you get that error.

Also, I tried to download "Iron Man" to check if the URL was working and from the look of it: 801MB... are you hosting full length pirated videos on your site? :P
User avatar
dandymcgee
ES Beta Backer
ES Beta Backer
Posts: 4709
Joined: Tue Apr 29, 2008 3:24 pm
Current Project: https://github.com/dbechrd/RicoTech
Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
Programming Language of Choice: C
Location: San Francisco
Contact:

Re: Divx web player help

Post by dandymcgee »

pritam wrote: Also, I tried to download "Iron Man" to check if the URL was working and from the look of it: 801MB... are you hosting full length pirated videos on your site? :P
Haha. :lol:

But yeah, as Pritam pointed out you need to close your tags and use forward slashes not backslashes.
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches! :twisted:
User avatar
jtst1
Chaos Rift Cool Newbie
Chaos Rift Cool Newbie
Posts: 80
Joined: Tue Sep 30, 2008 4:32 pm
Location: Atlanta Georgia

Re: Divx web player help

Post by jtst1 »

I fixed it =p, all videos are up and working. Yup I am hosting movies, only me and some friends use my site, so I don't think I have to worry. Ima add some flash games, and music.
When One learns to Love, One must bear the risk of Hatred.
Post Reply