Toolset Post Archives的Vimeo iframe

时间:2017-08-21 16:40:05

标签: javascript html iframe video-streaming

基本上来自Vimeo嵌入链接的Iframe可以单独工作,但是,我正在使用全局编辑器来显示所有帖子。使用javascript似乎是唯一的答案,但如果有人知道如何使用带有Vimeo URL的简单<video></video>标记,请告诉我。

这就是我所拥有的

[wpv-post-date]
[types field='date'][/types]
[types field='bible-passage'][/types]
[types field='mp3'][/types]

<div class="audio-player"><div id="play-btn"></div><div class="audio-
wrapper" id="player-container" href="javascript:;"><audio 
id="player"><source src="[types field='mp3' output='raw'][/types]">
</audio></div></div><a class="x-btn black-button x-btn-global sermon-
button sermon-audio" href="[types field='mp3' output='raw'][/types]" 
target="_blank">Download</a>
<iframe src="https://player.vimeo.com/video/229578292?
title=0&byline=0&portrait=0" width="640" height="360" frameborder="0" 
webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
<p><a href="[types field='video'][/types]">You Shall Not Steal</a> 
from <a href="https://vimeo.com/tomballbible">Tomball Bible 
Church</a> on <a href="https://vimeo.com">Vimeo</a>.</p>
[wpv-post-featured-image]
[types field='sermon-image'][/types]
[wpv-post-taxonomy type="preacher" separator=", " format="link" 
show="name" order="asc"]

Vimeo播放器的第一个来源需要保持这种格式,但最后的数字需要改变。

&#34;视频&#34;字段已经有自动生成的URL所以也许我可以从中提取数字?我不熟悉java脚本。

0 个答案:

没有答案