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 .. its very slow

user10873676Feb 24 2016 — edited Mar 28 2016

Hi,

I have a video section on the webcenter page.. there are several videos below on the page by clicking on any one it will start to play

Problem is it is very slow it does not play properly and the videos are coming from UCM.

I am using af:media component and on click of any video I am putting it in request scope as per the below jsff page template code.

Can someone let me know is there any better component to use for video play and can we load these videos from ucm quickly so that it plays well

   <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>

Thanks,

Rajesh

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 25 2016
Added on Feb 24 2016
5 comments
2,283 views