Skip to Main Content

Application Development Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Video not playing properly

user10873676Apr 13 2016 — edited Apr 22 2016

Hi,

I have a webcenter page below is the source code.. i have some videos on the page on click of any one of them it starts to play.. the videos are of type .wmv format..

Problem is it is not playing properly and we use only internet explorer.. so can someone tell me what change to be made in the source code to use some other player other than windows media player or install any plugins or do the below source code modifications to resolve this issue. The videos are coming from UCM and i am using af:media tag

<?xml version='1.0' encoding='UTF-8'?>

<jsp:root xmlns:fn="http://java.sun.com/jsp/jstl/functions" xmlns:f="http://java.sun.com/jsf/core" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:af="http://xmlns.oracle.com/adf/faces/rich" xmlns:dt="http://xmlns.oracle.com/webcenter/content/templates" version="2.1">

   <dt:contentListTemplateDef var="nodes">

      <af:panelGroupLayout layout="vertical" halign="center">

         <af:panelGroupLayout halign="center">

            <af:media source="#{requestScope.oracleCPPopupCurrentNode.url== null ? param.videoURL : requestScope.oracleCPPopupCurrentNode.url}"

                      autostart="true"

                      controls="typical"

                      standbyText="Loading..." id="m1" partialTriggers="it0:cl1"

                      contentType="video/x-ms-wmv" height="405" width="640"/>

         </af:panelGroupLayout>

         <af:spacer height="20"/>

         <af:panelGroupLayout>

            <af:iterator rows="0" var="node" varStatus="iterator" value="#{nodes}" id="it0">

               <af:commandLink id="cl1" partialSubmit="true">

                  <af:image source="/content/conn/WCSpaces/path/Contribution%20Folders/Video%20Gallery/images/#{fn:substring(node.name,0,fn:length(node.name)-4)}#{'.jpg'}" inlineStyle="padding-bottom:20px;width:180.0px; height:130px;" shortDesc="#{node.propertyMap['dDocTitle'].value}"/>

                  <af:setActionListener from="#{node}" to="#{requestScope.oracleCPPopupCurrentNode}"/>

               </af:commandLink>

               <af:spacer width="20" height="20"/>

            </af:iterator>

         </af:panelGroupLayout>

      </af:panelGroupLayout>

   </dt:contentListTemplateDef>

</jsp:root>

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 20 2016
Added on Apr 13 2016
9 comments
2,384 views