- 正在使用
- 10+
- 评分
- 5.0 / 5
- 累计下载
- 2,769
- 最近更新
- 2017年1月17日
1 条评价需要 WordPress 2.5+已测试到 3.7.41
贡献者
截图
To get meta value in front-end, use get_post_meta() with meta key is youtube_id.
Example:
Print YouTube video ID:
ID, ‘youtube_id’, true);?>
Thumbnails:
<img src="http://img.youtube.com/vi/ID, ‘youtube_id’, true);?>/mqdefault.jpg” alt=”” />
Video player:
<iframe src="http://www.youtube.com/embed/ID, ‘youtube_id’, true); ?>” width=”588″ height=”331″ frameborder=”0″ allowfullscreen>

