Support » Theme: Pinboard » youtube video size on post / page – how to change? (pinboard)

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi Joan

    yes it looks like its defaulting to the width of your theme. Your code begins something like this

    <embed id="player1" width="100%" height="100%" name="player1"

    If you go to your Youtube video and click share and then embed the code you can use within your post is this

    <iframe width="420" height="315" src="//www.youtube.com/embed/SLKUNz78cK0" frameborder="0" allowfullscreen></iframe>

    You can change the width and height accordingly

    Nice music by the way!

    Thread Starter joanwalsh

    (@joanwalsh)

    thanks deanfp. i should have included the code i did copy and paste into my post. sorry. this is the code i copied into my post from the youtube video –

    <iframe width=”420″ height=”315″ src=”//www.youtube.com/embed/SLKUNz78cK0″ frameborder=”0″ allowfullscreen></iframe>

    it seems the pinboard theme overides youtube settings and goes with 100%, i think its in the functions.php (?)

    i have tried to physically change the width and height in the code before i copy pasted, but it makes no difference – it stays at 100% 🙁

    thanks for you help anyway deanfp 🙂

    but still unresolved, must be in the ‘functions editor’? this is a pity though, cos it would be nice to have control over exactly what size a video shows on website, but at present the pinboard theme overrides any settings i set.

    hope there is a solution for this. thanks joan

    Are you selecting the post type as “video”?

    Thread Starter joanwalsh

    (@joanwalsh)

    Thanks denfp.

    Yes i selected ‘video’ as the format. I did try ‘standard’ format too, and it didnt make a difference with the video size on the page. Still at 100%.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘youtube video size on post / page – how to change? (pinboard)’ is closed to new replies.