我正在寻找一种MOSS 2007客户端解决方案,该解决方案将使我能够从YouTube等表面进行视频链接,以便为观众提供最新的培训内容。我认为CEWP和DVWP可以在这里提供帮助。

现在,我使用主页的页面查看器Web部分。我需要每次使用当前视频链接更新链接属性。还不错,但是档案呢?理想情况下,我想拥有一个具有存档视频链接标题,URL等的LVWP。用户比单击列表/库中的任何视频,然后将其馈入同一页面上的CEWP。

在这种情况下,通过Visual Studio进行自定义开发不是一个选择。我需要使用数据查看Web零件或可连接的Web零件来创造性。

有帮助吗?

解决方案

这是您可以构建的.DWP文件,可以处理JAAP提到的显示。您必须确定要使用的点击事件故事,但这将显示您设置的任何链接。只需要添加代码即可查询列表。

<?xml version="1.0" encoding="utf-8"?>
<WebPart xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/WebPart/v2">
  <Title>SharePoint Videos</Title>
  <FrameType>Standard</FrameType>
  <Description>Use for formatted text, tables, and images.</Description>
  <IsIncluded>true</IsIncluded>
  <ZoneID>Left</ZoneID>
  <PartOrder>3</PartOrder>
  <FrameState>Normal</FrameState>
  <Height />
  <Width />
  <AllowRemove>true</AllowRemove>
  <AllowZoneChange>true</AllowZoneChange>
  <AllowMinimize>true</AllowMinimize>
  <AllowConnect>true</AllowConnect>
  <AllowEdit>true</AllowEdit>
  <AllowHide>true</AllowHide>
  <IsVisible>true</IsVisible>
  <DetailLink />
  <HelpLink />
  <HelpMode>Modeless</HelpMode>
  <Dir>Default</Dir>
  <PartImageSmall />
  <MissingAssembly>Cannot import this Web Part.</MissingAssembly>
  <PartImageLarge>/_layouts/images/mscontl.gif</PartImageLarge>
  <IsIncludedFilter />
  <Assembly>Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c</Assembly>
  <TypeName>Microsoft.SharePoint.WebPartPages.ContentEditorWebPart</TypeName>
  <ContentLink xmlns="http://schemas.microsoft.com/WebPart/v2/ContentEditor" />
  <Content xmlns="http://schemas.microsoft.com/WebPart/v2/ContentEditor"><![CDATA[<br>
    <div  align=center> 
    <SELECT  id=cancion onchange=document.all.music.filename=document.all.cancion.value;  size=1 name=Music> <br>
    <OPTION  selected>::::: Choose the Video to Play :::::</OPTION><br>
    <OPTION  value="https://home.sharepoint.private.massmutual.com/Documents/Office2007ECMPart1-DocMgmt.wmv"> Office 2007 ECM-Part 1</OPTION><br>
    <OPTION  value="https://home.sharepoint.private.massmutual.com/Documents/Office2007ECMPart2-DocMgmt.wmv"> Office 2007 ECM-Part 2</OPTION><br>
    </SELECT><br>
    <BR> <br>
    <OBJECT  id=music height=400 width=400 classid=clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95> <br>
    <PARAM  NAME="AutoStart" VALUE="true"> <br>
    </OBJECT> <br>
    </div> <br>
  ]]></Content>
  <PartStorage xmlns="http://schemas.microsoft.com/WebPart/v2/ContentEditor" />
</WebPart>

其他提示

我将使用带有自定义jQuery脚本的CEWP。

您的jQuery脚本寄存器在LVWP中的每个项目上登录OnClick事件处理程序。 onclick,你可以 插入YouTube视频 使用您单击的项目中的参数,在CEWP中的占位符内部。

您是否还考虑过查看SharePoint的播客套件?http://pks.codeplex.com/

许可以下: CC-BY-SA归因
scroll top