Jump to:

10994 Posts in 2728 Topics by 1819 members

All other Modules

SilverStripe Forums » All other Modules » flow player - not playing...

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 834 Views
  • JPG
    Avatar
    Community Member
    53 Posts

    flow player - not playing... Link to this post

    Problem; I have created my upload and template pages - all seems well until I try to upload the swf files - then I get the old...

    "Website Error
    There has been an error

    The website server has not been able to respond to your request."

    ...page.

    Here is a snippet from my .ss code including JQUERY script

    <!-- VIDEO 1 -->
    <div class="video_holder">
    <div class="video">
    <% if GalleryThumb1 %>
       <a href="#" rel="#orel1">$GalleryThumb1</a>
    <% end_if %>

    <% if VideoTitle1 %>
    <div class="info">
    $VideoTitle1
    <!--<span>SMALL DESCRIPTION / NOT NEEDED?</span>-->
    </div>
    <% end_if %>
    </div>
    <% if GalleryVideo1 %> <div id="orel1" class="overlay"><a href="$GalleryVideo1" class="player"></a></div> <% end_if %>
    </div>
    <!-- VIDEO 1 / END -->

    <script language="JavaScript">
    $(function() {
    $("a[rel]").overlay({

    effect: 'apple',      
           expose: '#000',            
          
    onLoad: function(content) {
    this.getOverlay().find("a.player").flowplayer(0).load();
    },
          
    onClose: function(content) {
    $f().unload();
    }
    });            
       
       // install flowplayers
       $("a.player").flowplayer("mysite/swf/flowplayer-3.1.5.swf");
    });
    </script>

    I think the problem is in the <% If GalleryVideo1 %> line?

  • JPG
    Avatar
    Community Member
    53 Posts

    Re: flow player - not playing... Link to this post

    Guess not then.

    834 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.