Silverlight视频问题 [英] Problem with Silverlight video

查看:78
本文介绍了Silverlight视频问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用EW4并使用insert然后silverlight视频向我的页面添加了一个视频

我使用的是发送给我的mp4,并应用了源编码设置。

I am using EW4 and added a video to my page using insert then silverlight video
I am using a mp4 that was sent to me, and apply the source encoding setings.

我发布了更新,但在网站上,vido区域只是绿色..

音频播放,我确实发布了必要的silverlight文件到服务器。

我一直在努力寻找解决方案...



作为一个mp4文件,我发现使用windows媒体播放器视频

会播放,但会停止然后继续播放...我也读到了这是因为
Win Media Player不支持mp4 - 这就是为什么我要尝试silverlight(ver 4)

如果有人可以帮助我,我会很高兴 - 我真的很陌生!
b


这里是页面上的代码:

< object data =" data:application / x-silverlight-2,"类型= QUOT;应用程序/ x-Silverlight的2英寸宽度= QUOT; 640" height =" 360"       < param name =" source" value =" silverlightvideos / ArchetypeTemplate.xap" />

        < param name =" background"值= QUOT;白" />&
        < param name =" minRuntimeVersion"值= QUOT; 4.0.50401.0" />&
        < param name =" autoUpgrade"值= QUOT;真" />&
        < param name =" enableHtmlAccess"值= QUOT;真" />&
        < param name =" enableGPUAcceleration"值= QUOT;真" />&$ b&b        < param name =" initparams" value ='playerSettings =


  <播放列表>

   < DisplayTimeCode> false< / DisplayTimeCode>

将EnableCachedComposition>真< / EnableCachedComposition>

将EnableCaptions>真< / EnableCaptions>

将EnableOffline>真< / EnableOffline> <登记/>
将EnablePopOut>真< / EnablePopOut>

将StartMuted>假LT; / StartMuted>

将StartWithPlaylistShowing>假LT; / StartWithPlaylistShowing>

将StretchNonSquarePixels> NoStretch< / StretchNonSquarePixels>

&NBSP;&NBSP;&NBSP;<物品>

&NBSP;&NBSP;&NBSP;&NBSP ;< PlaylistItem>

&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;<的AudioCodec> WmaProfessional< /的AudioCodec>

&NBSP;&NBSP;&NBSP;&NBSP;&NBSP; < Description>< / Description>

     < FileSize> 1029774< / FileSize>

    &N bsp; < FrameRate> 30.00003000003< / FrameRate>

     < Height> 360< / Height>

  ;&NBSP;&NBSP;&NBSP;&NBSP;< IsAdaptiveStreaming>假LT; / IsAdaptiveStreaming>

&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;< MediaSource的> silverlightvideos /船舱47.wmv< / MediaSource的>

     < ThumbSource>< / ThumbSource>

     < Title>< ; / title>&
     < VideoCodec> VC1< / VideoCodec>

     < ;宽度> 640< /宽度>

    < / PlaylistItem>

   < / Items>

  < / Playlist>'/>

< a href =" http://go2.microsoft.com/fwlink/?LinkID=124807 " style =" text-decoration:none;">

   < img src =" http://go2.microsoft.com/fwlink/?LinkId=108181 "?; alt ="获取Microsoft Silverlight" style =" border-style:none;" />

  < / a>

         < / object>

I publish the update, but on the website, the vido area is just green..
the audio is playing and I did publish the necessary silverlight files to the server.
I have been trying to find a solution all day...

Being a mp4 file, i found that using the windows media player the video
would play but would stop and then continue playing...I also read that
Win Media Player doesnt support mp4 - that is why I am trying the silverlight (ver 4)
It would be great if someone could help me with this - I'm really new to this!

Here is the code on the page:
<object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="640" height="360">
        <param name="source" value="silverlightvideos/ArchetypeTemplate.xap"/>
        <param name="background" value="white" />
        <param name="minRuntimeVersion" value="4.0.50401.0" />
        <param name="autoUpgrade" value="true" />
        <param name="enableHtmlAccess" value="true" />
        <param name="enableGPUAcceleration" value="true" />
        <param name="initparams" value='playerSettings =
  <Playlist>
   <DisplayTimeCode>false</DisplayTimeCode>
<EnableCachedComposition>true</EnableCachedComposition>
<EnableCaptions>true</EnableCaptions>
<EnableOffline>true</EnableOffline>
<EnablePopOut>true</EnablePopOut>
<StartMuted>false</StartMuted>
<StartWithPlaylistShowing>false</StartWithPlaylistShowing>
<StretchNonSquarePixels>NoStretch</StretchNonSquarePixels>
   <Items>
    <PlaylistItem>
     <AudioCodec>WmaProfessional</AudioCodec>
     <Description></Description>
     <FileSize>1029774</FileSize>
     <FrameRate>30.00003000003</FrameRate>
     <Height>360</Height>
     <IsAdaptiveStreaming>false</IsAdaptiveStreaming>
     <MediaSource>silverlightvideos/Cabin 47.wmv</MediaSource>
     <ThumbSource></ThumbSource>
     <Title></Title>
     <VideoCodec>VC1</VideoCodec>
     <Width>640</Width>
    </PlaylistItem>
   </Items>
  </Playlist>'/>
<a href="http://go2.microsoft.com/fwlink/?LinkID=124807" style="text-decoration: none;">
   <img src="http://go2.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight" style="border-style: none;"/>
  </a>
        </object>

Kathy Larson

Kathy Larson

推荐答案

这应该是向Silverlight团队询问的问题。我会从那里开始:
http://forums.silverlight.net/


这篇关于Silverlight视频问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆