When we use the embedded inline media, the video's are always displayed with the width = 425 en height = 350 (proportion 4:3). Many youtube video's are in de proportion 16:9, so the width will be 640.
Is it possible to change the size for these inline embedded media ? Or maybe better, can the inline media use the proportion of the video from the provider (ex. youtube) ?
Comments
Comment #1
bkat commentedI definitely would like the ability to make the video player size relative to the video's aspect ratio. In my case, I'd like to specify the width and let the height be dependent on the video. E.g. 480x270 for 16:9 and 480x360 for 4:3.
Comment #2
Iho Tea commentedsubscribing..
Comment #3
new_B commentedSubscribing
Comment #4
tran_tien commentedEdit this file : media_youtube.theme.inc
That solusion for me.
Comment #5
bkat commented@tran_tien, how do you find out the aspect ratio of a youtube video?
Comment #6
tran_tien commentedgo to some youtube video then get the embed code.
Comment #7
aaron commentedThis has been fixed, at http://drupalcode.org/project/emfield.git/commit/861faca
To set a custom display, do like www.youtube.com/watch?v=7sDWSSeteYk[width=562,height=152]
Comment #8
aaron commented