298討論區

如果Wordpress的風格放Yout...
 
Notifications
Clear all

如果Wordpress的風格放Youtube片沒有Repsonsive

1 Posts
1 Users
0 Likes
1,002 Views
0
Topic starter

請問要怎樣做啊?

1 Answer
0
Topic starter

可以自行把Youtube影片的Embed Code中的Width修改為100%

例如:原本width="560",修改為width="100%"

 

如下:

<iframe width="100%" height="315" src="https://www.youtube.com/embed/jM3TLTRpbtA?rel=0" frameborder="0" allowfullscreen></iframe>

 

這樣,便可以變成Responsive了。

Share: