Welcome to Dream.In.Code
Getting Help is Easy!

Join 95,475 Programmers for FREE!. Ask your question and get quick answers from Dream.In.Code experts. There are 954 online right now! We're the #1 programming help community on the internet! Registration is fast and FREE... Join Now!

Chat LIVE With a Expert

Register to Make This Box Go Away!


CSS blocking video?

 
Reply to this topicStart new topic

CSS blocking video?

johnblaze01
post 30 Jan, 2007 - 09:01 PM
Post #1


New D.I.C Head

*
Joined: 30 Jan, 2007
Posts: 5


My Contributions


I'm not sure what exactly is causing it, but if I paste the html code for a video from photobucket that I already verified works into my profile, it does not work. There is a new blank space that the video created, and you can hover over it to click on it, but there is no picture of the video or control over it when you click on the empty space. I know myspace changes the code when you paste it into your profile, but that isn't the problem is it? I thought maybe the CSS code was somehow making the video not visible.

Here is the link to my profile. The video is (or rather would be) in the "about me" section
My Webpage

This post has been edited by johnblaze01: 30 Jan, 2007 - 09:14 PM
User is offlineProfile CardPM

Go to the top of the page


eLliDKraM
post 30 Jan, 2007 - 09:07 PM
Post #2


Pepè Le Pewn

Group Icon
Joined: 13 Aug, 2005
Posts: 6,536



Dream Kudos: 225
My Contributions


INVALID ID


--------------------
eLliD KraM: im too 10100111001 for you
IPB Image
Mark Squared Studios
User is offlineProfile CardPM

Go to the top of the page

johnblaze01
post 30 Jan, 2007 - 09:14 PM
Post #3


New D.I.C Head

*
Joined: 30 Jan, 2007
Posts: 5


My Contributions


QUOTE(eLliDKraM @ 30 Jan, 2007 - 09:07 PM) *

INVALID ID


Sorry, not sure what happened there...
User is offlineProfile CardPM

Go to the top of the page

snoj
post 30 Jan, 2007 - 10:49 PM
Post #4


$Null

Group Icon
Joined: 31 Mar, 2003
Posts: 3,304



Thanked 3 times

Dream Kudos: 700
My Contributions


That page slows down my browser and makes it as well as myself shudder.

CSS isn't "hiding" your video, it's your own lack of HTML and URL/URI knowledge.

My hint, "http://profile.myspace.com/player.swf?file=http://vid69.photobucket.com/albums/i53/Cdaddy78/Video1-1.flv" does not exist.


--------------------
User is offlineProfile CardPM

Go to the top of the page

johnblaze01
post 30 Jan, 2007 - 11:19 PM
Post #5


New D.I.C Head

*
Joined: 30 Jan, 2007
Posts: 5


My Contributions


QUOTE(hotsnoj @ 30 Jan, 2007 - 10:49 PM) *

That page slows down my browser and makes it as well as myself shudder.

CSS isn't "hiding" your video, it's you own lack of HTML and URL/URI knowledge.

My hint, "http://profile.myspace.com/player.swf?file=http://vid69.photobucket.com/albums/i53/Cdaddy78/Video1-1.flv" does not exist.


I love it when someone tries to pull the ignorance card when they are the ignorant ones... Let me guess, you used the right click /properties to see what the HTML link was where the video should be? Of course that isnt right moron. Unbelieveable. You're a moderator? In any event... Here is the HTML that is getting posted to the profile...

CODE
<center>
<embed width="430"height="389" type="application/x-shockwave-flash" wmode="transparent" src="/player.swf?file=http://vid69.photobucket.com/albums/i53/Cdaddy78/Video1-1.flv"></embed><br><br>
</center>


with, of course, the proper url for the video for those that think it doesnt exist...

*Update. Thanks for your brilliance hotsnoj. It outshines all of us...

For the rest of you that need insight - Actually I believe myspace keys in on the "swf" extension, and auto changes your HTML code. In any event, I posted the video on youtube, received a different embed tag from them, and the video now works. I have used the above code from photobucket on other servers, and it does work, so evidently it is a myspace intervention.


This post has been edited by johnblaze01: 30 Jan, 2007 - 11:45 PM
User is offlineProfile CardPM

Go to the top of the page

snoj
post 31 Jan, 2007 - 08:17 AM
Post #6


$Null

Group Icon
Joined: 31 Mar, 2003
Posts: 3,304



Thanked 3 times

Dream Kudos: 700
My Contributions


John, the url given for the embeded object was/is "/player.swf?file=http://vid69.photobucket.com/albums/i53/Cdaddy78/Video1-1.flv". player.swf does not exist on the myspace servers and yes I tested it. (I added "http://profile.myspace.com" to the URL from the embed because that's what it would translate to.)

QUOTE
Let me guess, you used the right click /properties
Actually I looked at the source code of the page and like I said, tested what I saw so I could accurately answer. I've also went back and got some videos from photobucket and added them to my profile to see what Myspace did and those videos worked just fine.

So either one of two things happened.
  • Photobucket or wherever you got the code from, gave you some bum code for what you're trying to do.
  • You edited the hell out of the code photobucket gives and now have this problem.
You know, I'm sorry you feel that I shouldn't be a moderator and think I'm ignorant. Yes, my comment can be read in an insulting tone, but I never called you a moron, I just said you were lacking knowledge about how URL's worked. (Which you demonstrate even in your third post.) Knowledge can be fixed, but a moron will always be a moron.


--------------------
User is offlineProfile CardPM

Go to the top of the page

johnblaze01
post 31 Jan, 2007 - 08:48 AM
Post #7


New D.I.C Head

*
Joined: 30 Jan, 2007
Posts: 5


My Contributions


QUOTE(hotsnoj @ 31 Jan, 2007 - 08:17 AM) *

You know, I'm sorry you feel that I shouldn't be a moderator and think I'm ignorant. Yes, my comment can be read in an insulting tone, but I never called you a moron, I just said you were lacking knowledge about how URL's worked. (Which you demonstrate even in your third post.) Knowledge can be fixed, but a moron will always be a moron.


No, you merely started your "help" with insulting the myspace page, then claiming I know nothing about url's... If someone is a moderator, they represent a site, and should act as ambassadors to that site. But, you are right, a moron will always be a moron, regardless of their knowledge. As for the diagnosis, the code from photobucket works prior to pasting in my profile. I placed the HTML in photobucket's HTML practice area, and the video came up fine. However, once the HTML was pasted in the myspace profile, it no longer worked. (and of course the HTML was automatically changed by myspace once it was saved.) So no, the code was fine from photobucket, and no, I never edited the code either.

*On a side note, true knowledge stems from admitting your own ignorance, but some people still think they know everything

This post has been edited by johnblaze01: 31 Jan, 2007 - 08:52 AM
User is offlineProfile CardPM

Go to the top of the page

snoj
post 31 Jan, 2007 - 10:30 AM
Post #8


$Null

Group Icon
Joined: 31 Mar, 2003
Posts: 3,304



Thanked 3 times

Dream Kudos: 700
My Contributions


You're right, I did open things badly, I'm sorry. Will you, can you forgive me?

QUOTE
As for the diagnosis, the code from photobucket works prior to pasting in my profile. I placed the HTML in photobucket's HTML practice area, and the video came up fine.
It worked because /player.swf is on photobucket's servers so the domain section of the URL wasn't needed for it to work.

To test my assumptions further I signed up for photobucket and tried your code and a random video's code. Both worked. My thoughts still stand that something happened between you grabbing the code from photobucket and pasting it on myspace. None of the code I've tried has been edited to the point of it not working when I tried it on MySpace. So my only thought it that it was edited by someone along the line to take out the protocol and domain sections of the URL. Or it was an extremely freakish accident made by a script.


Code I've tried. All work with Photobucket's HTML practice area.
CODE

<!--Works on MySpace-->
<center>
<embed width="430"height="389" type="application/x-shockwave-flash" wmode="transparent" src="http://photobucket.com/player.swf?file=http://vid69.photobucket.com/albums/i53/Cdaddy78/Video1-1.flv"></embed><br><br>
</center>

<!--Doesn't work on MySpace-->
<center>
<embed width="430"height="389" type="application/x-shockwave-flash" wmode="transparent" src="/player.swf?file=http://vid69.photobucket.com/albums/i53/Cdaddy78/Video1-1.flv"></embed><br><br>
</center>

<!--Works on MySpace-->
<embed width="430" height="389" type="application/x-shockwave-flash" wmode="transparent" src="http://s47.photobucket.com/player.swf?file=http://vid47.photobucket.com/albums/f183/rossdaman00dub/Untitled-1.flv"></embed>


--------------------
User is offlineProfile CardPM

Go to the top of the page

johnblaze01
post 31 Jan, 2007 - 02:58 PM
Post #9


New D.I.C Head

*
Joined: 30 Jan, 2007
Posts: 5


My Contributions


I think we can finally come to an agreement, sort of. The HTML that is listed under "doesn't work" above is the generated html from photobucket to paste to your profile, which is evidently errant from the beginning, due to the player.swf? in the URL. It is nonetheless the HTML they claim to paste into myspace.
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 7/5/08 03:38AM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month
-->