11 replies [Last post]
jereece
jereece's picture
User offline. Last seen 1 week 1 day ago. Offline
rank Regular
Regular
Timezone: GMT-4
Joined: 2010-07-19
Posts: 11
Points: 13

Can anyone help me figure out how to use CSS to rotate my streaming video 90 degrees clockwise? I have no experience with CSS code so I would appreciate a little extra help understanding how to code the change.

I appreciate any support.
Jim

Verschwindende
Verschwindende's picture
User is online Online
rank Leader
Leader
Timezone: GMT-4
Joined: 2009-10-09
Posts: 751
Points: 841

Didn't you ask this same

Didn't you ask this same question just a short while ago??

CSS HTML ASP.net C# Coffee

Deuce
Deuce's picture
User offline. Last seen 1 hour 28 min ago. Offline
rank Guru
Guru
Timezone: GMT-7
Joined: 2005-11-20
Posts: 3754
Points: 1061

Pretty sure you already have

Pretty sure you already have the thread here - http://csscreator.com/topic/rotate-streaming-video-using-css

all » http://dictionary.reference.com/browse/all

Google isn't a bunch of guys reading and grading web sites, it's more like a bunch of monkeys sniffing food and putting the good bananas at the top. -Triumph

gary.turner
gary.turner's picture
User offline. Last seen 1 week 2 days ago. Offline
rank Moderator
Moderator
Timezone: GMT-5
Joined: 2004-06-25
Posts: 6726
Points: 426

As near as I can tell, you

As near as I can tell, you haven't applied the answer Tony gave you. If it didn't work before, it was because we weren't getting the feed. Since we're (at least I am) getting the feed now, I applied Tony's solution (partially—I tested Firefox only), and all was well. See the screenshot att'd.

cheers,

gary

AttachmentSize
doggiecam.jpg 60.58 KB

Unplanned code results in a tangled wad of brain cramping confusion.

There are enough html & css demos and tutorials to be interesting. Please visit.

jereece
jereece's picture
User offline. Last seen 1 week 1 day ago. Offline
rank Regular
Regular
Timezone: GMT-4
Joined: 2010-07-19
Posts: 11
Points: 13

Yes I did post this previous

Yes I did post this previous but it seemed to have reached a dead end with no one responding further so I decided to repost. As I stated at the end of the previous post, I tried to the best of my limited ability what Tony suggested and it did not work for me. However, looking at the gary.turner post image tells me that I obviously was doing something wrong.

So, gary.turner, could you either email to me or send me a PM with the entire code for the page that displays the video correctly. I appreciate your help very much.

Thanks,
Jim

gary.turner
gary.turner's picture
User offline. Last seen 1 week 2 days ago. Offline
rank Moderator
Moderator
Timezone: GMT-5
Joined: 2004-06-25
Posts: 6726
Points: 426

I simply added the class

I simply added the class 'ninety' to the stylesheet.

.ninety {
  -moz-transform: rotate(90deg);
  }
See Tony's post to get the proprietary properties for Webkit, IE and Opera.

cheers,

gary

Unplanned code results in a tangled wad of brain cramping confusion.

There are enough html & css demos and tutorials to be interesting. Please visit.

jereece
jereece's picture
User offline. Last seen 1 week 1 day ago. Offline
rank Regular
Regular
Timezone: GMT-4
Joined: 2010-07-19
Posts: 11
Points: 13

It's still not working for

It's still not working for me. I "added" your code to Tony's code and here's what I get - http://jreece.com/doggiecam/index-test.htm. As you can see, it's still turning the TEXT not the VIDEO.

Is it asking too much for you to send me the full HTML code for the whole page for what you got to work? That seems to be a simple solution because I obviously am not understanding. I sent you a personal message with my email address.

I do appreciate your help.

Jim

gary.turner
gary.turner's picture
User offline. Last seen 1 week 2 days ago. Offline
rank Moderator
Moderator
Timezone: GMT-5
Joined: 2004-06-25
Posts: 6726
Points: 426

I simply used the page you

I simply used the page you linked to in the first post above.

cheers,

gary

Unplanned code results in a tangled wad of brain cramping confusion.

There are enough html & css demos and tutorials to be interesting. Please visit.

jereece
jereece's picture
User offline. Last seen 1 week 1 day ago. Offline
rank Regular
Regular
Timezone: GMT-4
Joined: 2010-07-19
Posts: 11
Points: 13

I did too and you see the

I did too and you see the results here. I have done everything I know to do as you guys have asked and it's still not working. Would you please send me the entire page code that worked for you like I asked? If not, I will just have to go elsewhere for CSS help.

Jim

Tony
Tony's picture
User is online Online
rank Moderator
Moderator
Timezone: GMT+10
Joined: 2003-03-12
Posts: 3219
Points: 527

You have missed half the

You have missed half the markup.
This:

<div class="rotateme">http://reecedogs.linksys-cam.com/img/video.mjpeg</div>

Should be:
<img class="rotateme" src="http://reecedogs.linksys-cam.com/img/video.mjpeg" alt="" style="width: 640px; height: 480px;">

Your question may have already been answered, search and read before you ask.

jereece
jereece's picture
User offline. Last seen 1 week 1 day ago. Offline
rank Regular
Regular
Timezone: GMT-4
Joined: 2010-07-19
Posts: 11
Points: 13

Oh...okay. I see now.

Oh...okay. I see now. Finally, it's working for me now. I will need to play with the HTML because rotating the image is blocking some of the text but I can work that out.

Again I really appreciate the help. I can get there now.

Jim

jereece
jereece's picture
User offline. Last seen 1 week 1 day ago. Offline
rank Regular
Regular
Timezone: GMT-4
Joined: 2010-07-19
Posts: 11
Points: 13

I just noticed that when my

I just noticed that when my web cam is viewed in Internet Explorer the video feed is flipped the wrong way compared to viewing it from Firefox or Chrome. What do I need to change in the code to make it view correct in IE. I don't mind having a separate page for IE viewers if needed.

As always I really appreciate the help.

Jim