Youtube在iframe中嵌入链接无法在Sharepoint 2013 WebPart中播放 [英] Youtube embed link in iframe not able to play in Sharepoint 2013 WebPart
问题描述
Hello All,
我在Sharepoint 2013中遇到与youtube嵌入iframe链接有关的问题,我从youtube嵌入视频链接复制并粘贴并将其放入我的视频库(请参阅: SPVideo image 1 )。
上传成功,并从已上传视频的网站内容中成功播放。
但是当我在xsl Webpart中使用该视频时显示Media Failed to Load,下面是xsl代码:
Hello All,
I have an issue in Sharepoint 2013 related to youtube embed iframe links that i copy and paste from youtube embed video link and place it in my video library (Please see this : SPVideo image 1).
It gets uploaded successfully and get played successfully from the "Site Contents" where the video has been uploaded.
But when i use that video in an xsl Webpart it shows "Media Failed to Load", below is xsl code :
<div class="col-lg-4 col-md-4 col-xs-6 thumb">
<a class="thumbnail" href="#" data-toggle="modal" data-target=".bs-example-modal-lg">
<img src="{@ImageUrl}" data-desc="{substring(@Description,0,300)}" data-Video="{@LinkUrl}" önclick="openInDialog('{@Title}',800,800,false,true,false,'/Pages/MediaWebPart.aspx?{@LinkUrl}.wmv')" ></img>
</a>
<span>
<xsl:value-of select="substring(@Title,0,100)"></xsl:value-of>
</span>
</div>
以下是dropbox的图片链接,您可以请参阅我面对的问题的步骤:
1.在视频库中粘贴Youtube嵌入代码: SPVideo图像1
2.保存之后来到Videopage(播放视频): SPVideo image 2
3. XSL Webpart列表页面,所有视频都列在图像视频中(来自上面的xsl代码): SPVideo image 3
4.打开Dialog的弹出窗口(来自xsl代码):SPVideo image 4
我一直在尝试搜索此问题但无法在2天内解决此问题。
如果您有任何解决方案,请提供帮助。任何帮助将不胜感激。
谢谢。
Here are the image links of dropbox where you can refer to my steps to problem that i am facing :
1. Pasting Youtube embed code in video gallery: SPVideo image 1
2. After saving it comes to Videopage (which plays video) : SPVideo image 2
3. XSL Webpart list page where all videos are listed in image video(from above xsl code) : SPVideo image 3
4. A popup which opens a Dialog (from above xsl code) : SPVideo image 4
I have been trying to search this issue but unable to resolve this from 2 days.
Please help if you have any solution. Any help would be appreciated.
Thank you.
推荐答案
这篇关于Youtube在iframe中嵌入链接无法在Sharepoint 2013 WebPart中播放的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!