1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Problem with media embedding

Discussion in 'Troubleshooting and Problems' started by Spenser, Jun 19, 2011.

  1. Spenser

    Spenser Active Member

    Hi!

    I have two threads that start with a posting with embedded media. Both threads show only the first postings in Firefox: forum.computerbetrug.de screen capture 2011-6-19-1-6-39.png

    In Safari both threads are shown in full: Safari.png

    Both pictures show different threads but the problem is the same: in Firefox even the "edit" link is missing.

    I thought it might be connected to my signature so I deleted it and nothing changed.

    Here are links to the threads:
    http://forum.computerbetrug.de/threads/was-hört-ihr-für-musik.35316/
    http://forum.computerbetrug.de/threads/der-gute-rudi.35313/

    I use Firefox 4.0.1 on Mac OS X (10.6.7).

    Could you please have a look at the problem?
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    They both work fine for me in Firefox, Chrome and IE.

    I can see all posts.
     
  3. Spenser

    Spenser Active Member

    What the *meeeeeeep*?

    I truely believe you, but here on FF on Mac I just see the first post and even that one not completely.

    I see all posts on Safari and Opera, and the picture stays the same (cut-off thread) in FF. Last try: reboot.
     
  4. Spenser

    Spenser Active Member

    Same situation after reboot. The thread is cut at the end of the first post.

    I started a third thread and the behavior is still the same. Is there anything we can do to find the reason?
     
  5. Brogan

    Brogan XenForo Moderator Staff Member

    It's obviously browser and OS related but I don't have a Mac so I can't test it.

    Does it happen here using the same media?

    If not then it is likely something to do with your installation.
     
  6. Deebs

    Deebs Well-Known Member

    Mac OSX 10.6.7 running FF 4.0.1, both threads load fine, the first took a while due to the large number of videos embedded.

    The second thread was instant, 2 posts containing 2 video embeds.
     
  7. Mike

    Mike XenForo Developer Staff Member

    It looks ok as a guest - log out and see if you have the problem. If you don't then, some of the HTML may be invalid, possibly relating to only things that you (or registered users) are seeing. Create a new, totally default style and see if the issue still occurs.
     
  8. Spenser

    Spenser Active Member

    It can't be OS related. Right now I am using FF 4.0.1 on Windows 7 Ultimate 64bit and the same problem Occurs.
     
  9. Brogan

    Brogan XenForo Moderator Staff Member

    Works fine for me using FF4 on Windows 7 64.

    ff4.PNG
     
  10. Spenser

    Spenser Active Member

    It seems to be FF-related. The sourcecode shows all posts, but somehow they are not viewed.
     
  11. Spenser

    Spenser Active Member

    If I remove the media content using IE (FF doesn't show the "Edit" link), the posts from the beginning right to the first media is show. After the first media it stops just as before (but not in the first post, it stops in the first post that contains media).

    Very, very strange...
     
  12. Spenser

    Spenser Active Member

    I found the problem.

    The original link embedded is
    Code:
    http://www.youtube.com/v/pDjQRgoOcpk
    This is changed to:
    Code:
    <object width="500" height="300" data="http://www.youtube.com/v/pDjQRgoOcpk&amp;fs=1" type="application/x-shockwave-flash">
    
    <param name="movie" value="http://www.youtube.com/v/pDjQRgoOcpk&amp;fs=1" />
    
    <param name="allowFullScreen" value="true" />
    
    <param name="wmode" value="opaque" />
    
    <embed src="http://www.youtube.com/v/pDjQRgoOcpk&amp;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" wmode="opaque" width="500" height="300" />
    
    </object>
    If I delete the "&amp;fs=1" everything works fine. I don't know for what this is necessary, but it seems to make problems.
     
  13. Brogan

    Brogan XenForo Moderator Staff Member

    Are you saying that when you embed a video it gets converted to HTML?

    So when you edit the post and switch to the plain text editor that's what you see?
    Instead of [media=youtube]pDjQRgoOcpk[/media] ?
     
  14. Spenser

    Spenser Active Member

    Nope. I must have put something wrong.

    First, I embed this link as media: http://www.youtube.com/v/pDjQRgoOcpk

    After saving I looked at the sourcecode of the page as loaded by Firefox. It shows the code as shown in my post (#12 of this thread). To the media address I set "&amp;fs=1" was added (probably by Xenforo) - it's all in the object-tag in posting #12.
    I don't know why this "&amp;fs=1" was added to the address that I pasted, but exactly this seems to cause the problems.

    What I see in the editor is
    [media=youtube]pDjQRgoOcpk[/media]

    What I see in the source of the page after loading it is
    http://www.youtube.com/v/pDjQRgoOcpk&amp;fs=1

    Was I able to make it more clear?
     
  15. Brogan

    Brogan XenForo Moderator Staff Member

    That's just a full screen parameter which allows the embedded video to be viewed full screen.

    To reconfirm, I don't see this problem using FF4 on Win 7 64.
    And the source code is identical using the video you referenced.

    Code:
    <object width="500" height="300" data="http://www.youtube.com/v/pDjQRgoOcpk&amp;fs=1" type="application/x-shockwave-flash">
        <param name="movie" value="http://www.youtube.com/v/pDjQRgoOcpk&amp;fs=1" />
        <param name="allowFullScreen" value="true" />
        <param name="wmode" value="opaque" />
        <embed src="http://www.youtube.com/v/pDjQRgoOcpk&amp;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" wmode="opaque" width="500" height="300" />
    </object>
     
  16. Spenser

    Spenser Active Member

    That is why I can't understand it. I have this problem with two different computers (Windows and Mac) with FF 4.0.1.
    I can reproduce the problem with any article with an embedded media. I don't see what should cause the problem, especially as it doesn't show here when this additional parameter is not present.
     
  17. Brogan

    Brogan XenForo Moderator Staff Member

    Do you have any add-ons installed?
    Or have you made any template edits to the post related templates?

    I can't reproduce the problem here or on my base local install, with any browser on Win 7 or Vista.
     
  18. Spenser

    Spenser Active Member

    I did some testing:
    When deleting the parameter in the first line makes everything work fine:
    Code:
    <object width="500" height="300" data="http://www.youtube.com/v/pDjQRgoOcpk" type="application/x-shockwave-flash">
        <param name="movie" value="http://www.youtube.com/v/pDjQRgoOcpk&fs=1" />
        <param name="allowFullScreen" value="true" />
        <param name="wmode" value="opaque" />
        <embed src="http://www.youtube.com/v/pDjQRgoOcpk&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" wmode="opaque" width="500" height="300" />
    </object>
    There is nothing very special with my FF setup. So I don't believe that I am the only one with that problem.
     
  19. Spenser

    Spenser Active Member

    After some testing I found out that this problem exists when using NoScript AddOn in Firefox (no matter what configuration is used!).

    It seems to be a bug in NoScript.

    I've contacted the developer and hopefully he will fix the issue.

    Thanks to all of you for your kind help!
     
  20. Brogan

    Brogan XenForo Moderator Staff Member

    Good to know, thanks for letting us know.

    I thought it had to be browser and/or OS related :)
     

Share This Page