Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules /

Discuss all other Modules here.

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

flow player - not playing...


Reply


2 Posts   874 Views

Avatar
JPG

Community Member, 53 Posts

8 February 2011 at 2:10pm

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?

Avatar
JPG

Community Member, 53 Posts

10 February 2011 at 7:54am

Guess not then. :(