This is the community forum. For a developer response use the Client Area.
Follow us on Facebook, Twitter and YouTube!

Resizing YouTube Video
#1

Commentics v4.2

Hi Steven,

I've searched & searched with no luck.  Where does one edit to change the size of videos posted on previews and comments?  It appears they're currently being shown about 300px x 150px?


Please Advise.
Reply
#2

Hi you can change the dimensions using CSS:

Code:
.cmtx_youtube_container iframe {
  width:
  height:
}

Have you completed the interview?
Reply
#3

Yes, I saw that in both .css files, BUT... they both said:

Code:
.cmtx_youtube_container iframe {
Code:
  height: auto;
Code:
  max-width: 100%;
Code:
}

So since they're both marked as max-width: 100%.... WHY are they only 300px wide???

That's why I was thinking there was probably somewhere else controlling that.
Reply
#4

Max-width isn't stating that it should be 100%, it's stating that it can't be more than 100%.

There's actually no width statement, meaning it's at its natural width (which in this case is 300px).

Have you completed the interview?
Reply
#5

Ahhh..... Thank You!
Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post

Forum Jump:


Users browsing this thread: 1 Guest(s)