Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsGalleryGallerySlideshow in FirefoxSlideshow in Firefox
Previous
 
Next
New Post
4/26/2007 3:52 PM
 

I did a search on the forums and didn't find anything with regards to the slideshow functionality in Firefox... does anyone here use Firefox as often to notice that Slideshow doesn't work? (At least for me it doesn't, is there just something wrong with my browser?)

On a sidenote, the media player wasn't working in Firefox either, I had to modify the MediaPlayerControl.vb to add this line before the closing </OBJECT> tag:

wr.WriteLine("<embed type=""application/x-mplayer2"" src=""" & Trim(mRequest.CurrentItem.URL) & """ name=""Player"" width=""" & strW & """ height=""" & strH & """></embed>")

That would become line 108 (using James Jergen's unofficial Gallery module), maybe he can go ahead and add it to his copy as this is the only way (that I could find) to get the media player window to open in Firefox (I haven't tested this with .MOV files yet, but if the embed is also needed I hope he adds this for that tag creation as well).

When I get some time I will also try to implement a simple workaround for marking certain folders in the galleries as Private as this is something I need and see that nobody else has taken the time to write up, and seeing that time is what I am short of I hope I can get to it soon.

 

Thanks

 
New Post
4/27/2007 10:54 PM
 

So I don't know if it was just that I applied formatting (and added semi colons) or changed the script to correctly report it as being javascript, but where the slideshow didn't work in Firefox before, now it does, this is what I changed in the ControlSlideShow.ascx (in case you want to make the changes):

 

<script type="text/javascript">
            function runSlideShow()
            {
                if (document.all)
                {
                    document.images.SlideShow.style.filter="blendTrans(duration=2)";
                    document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)";
                    document.images.SlideShow.filters.blendTrans.Apply();  
                }
               
                document.images.SlideShow.src = preLoad[j].src;
                if (document.getElementById) document.getElementById("TitleBox").innerHTML=Title[j].replace("^", "'");
                if (document.getElementById) document.getElementById("CaptionBox").innerHTML=Description[j].replace("^", "'");
                if (document.all)
                {
                    document.images.SlideShow.filters.blendTrans.Play();
                }
               
                j = j + 1;
               
                if (j > (p-1)) j=0;
               
                t = setTimeout('runSlideShow()', slideShowSpeed);
            }                       
</script>
<BODY onload="runSlideShow()">

 
New Post
4/30/2007 11:54 AM
 

Thanks Mig1 for looking into the slideshow issue and coming up with some patches.  It is good to see the community working and fixing this module.  I have applied your patch/changes to my "patched" version of the gallery module and am looking for people to test it out and leave feedback.

PS.  I did not apply your movie patch as the "object" code should launch the movie player and I worry that by adding an <embed> in there also, you might get 2 players going.  Need to do some more research to determine what is the "correct" way of doing that.

PSS.  You can download my changes at www.Jegers.com

 
New Post
4/30/2007 3:58 PM
 

James Jegers wrote

Thanks Mig1 for looking into the slideshow issue and coming up with some patches.  It is good to see the community working and fixing this module.  I have applied your patch/changes to my "patched" version of the gallery module and am looking for people to test it out and leave feedback.

PS.  I did not apply your movie patch as the "object" code should launch the movie player and I worry that by adding an

in there also, you might get 2 players going.  Need to do some more research to determine what is the "correct" way of doing that.

 

PSS.  You can download my changes at www.Jegers.com

After you said that, I went to the Mozilla Foundation and found their official player test page and the way they do it is to omit the CLASSID attribute altogether and stick the type="video/x-ms-wmv" and the url to the movie in the data attribute. This method works fine for Firefox but breaks Internet Explorer.  I have found the only way to get this working is by using the embed tag, OR by using the method described here: http://alistapart.com/articles/byebyeembed/ which also emits the CLASSID attribute. Up to you which way you want to go about it ;)

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsGalleryGallerySlideshow in FirefoxSlideshow in Firefox


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out