How to make youtube videos mobile friendly?

PRABPRAB New
edited April 2013 in Vanilla 2.0 - 2.8

When i goto my forum from a mobile phone teenspirit.lk the youtube video (width, height) are not auto formatted according to phone width and height. Does anyone know to make this work?

For images i could get it done by

div.Message { max-width: 100%! important; max-height: auto; } .MessageList .Message img{ max-width: 100%!important; max-height: auto; }

An i tried for youtube..

`object[Attributes Style]{
max-width: 100%!important;
max-height: auto;
}

embed[Attributes Style] {
max-width: 100%!important;
max-height: auto;
}`

Please give me a clue. Thanx in advance.

Comments

Sign In or Register to comment.