Hi,
I am building a "sermons" custom post type, where I can show lectures from youtube, followed by an audio player.
the only way I got the youtube videos to display properly, is by creating a custom field of type "embeded media" and past the youtube url in it.
I created a layout for this, and shows the number of cells to be 8. So i left 2 cells both sides (Please refer to image 04.jpg)
However, in the front end, the video shows the full width of the row. please refer to image 03.jpg.
Same for the audio player, so it is not a youtube related issue.
I verified that the visual editor cell is full width by wrapping the code with a div tag and giving it a red background. (plz check image 03.jpg) the red color shows full width.
I have my row width equal the post content (the default recommended setting). so the video should show smaller than the content width by 2 cells each side.
My second Problem is that the video shows alright on desktop (although huge because it is full width).
However, on mobile it looks very ugly.
it shows the full screen vertically (refer to image 05.jpg), and when it plays, the whole screen turns black, with the middle part showing the video. (please refer to image 06.jpg)
I tried adding height value, or width value, or both, when i insert the custom field, but none had any effect. it still shows full width on desktop, and ugly on mobile.
here is the test page i created:
hidden link
can you please help me reaching to a more presentable layout?
thanks a lot