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

Some help embedding videos

Discussion in 'XenForo Questions and Support' started by ChemicalKicks, Feb 29, 2012.

  1. ChemicalKicks

    ChemicalKicks Well-Known Member

    I've tried asking for help on this before only to have my posts deleted due to the content on the site in question so I'm going to try a different method.

    The site I'm embedding is very NSFW/NSFL.

    The contents are video and they're provided as file downloads, I realised I would have to embed the videos using a flash player my end to get them to work.

    Now I'm able to get the replacement stuff to work and I can even get the videos to embed properly the problem is that the videos seem to always autoplay.

    If anyone has any experience with embedding videos and would like to PC me I would love to share the solution I've got at the moment and get it working properly.

    Thanks.
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Isn't there a parameter that you can set to disable autoplay?

    Something like autoplay=0?
     
  3. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

  4. ChemicalKicks

    ChemicalKicks Well-Known Member

    Thanks for the responses fella's.

    I got it working in the end using flowplayer and the following code, bearing in mind I'm hotlinking this content provider hehe

    Code:
    <script src="http://the-sps.org/flowplayer/flowplayer.embed-3.0.3.min.js"></script>
     
    <a href="http://media.REMOVEDURL.com/videos/{$id}.flv" id="playerContainer">
     
    </a>
     
    <script language="javascript">
    flowplayer("playerContainer", "http://the-sps.org/flowplayer/flowplayer-3.2.7.swf",{
    clip: {
      autoPlay: false
    }
    });
    </script>
    Thought I should share what worked for me.
     
  5. ChemicalKicks

    ChemicalKicks Well-Known Member

    Hmmmmmm although the player is working and it's nolonger auto playing I've run into another problem. Only one embed seems to work per page.
     
  6. EQnoble

    EQnoble Well-Known Member

    would you like some help?

    Your problem is probably in your flowplayer configuration.

    Are you trying to add this as a media bbcode site?
     
    ChemicalKicks likes this.
  7. ChemicalKicks

    ChemicalKicks Well-Known Member

    Sure thing, what do you need my end? Yeah it's set up as a media code bb site :)
     
  8. EQnoble

    EQnoble Well-Known Member

    Well it is more of an explanation as to why what you have currently won't work for what you are trying to do. I can tell you exactly but typing it out will not make as much sense as me saying it simply because of vocab reasons. Do you have skype?

    Once I explain this I promise you will not have this problem ever again.
     
  9. ChemicalKicks

    ChemicalKicks Well-Known Member

    Ah foo no Skype sorry. Try me though :)
     
  10. EQnoble

    EQnoble Well-Known Member

    Do you have any voice chat software?

    If so I will setup an account on any of them right now just for the simple fact that I don't want to type an explanation that says' this thing, and one of those thingies and don't forget about this thingamajig.' :)

    If you have no voice I guess I could try to explain it in text but like I said I know exactly what your error is and it is describing it that would kill me (and probably anyone trying to read it), not to mention that I already have had this working for a while now as a mediasite and was only refraining from sharing it because I have also done this already for BBCM and it seemed redundant to also have it as a mediasite but i suppose now that I think about it that it is a good thing to have both.

    I do like the idea of the auto embedding but I was not sharing it because the way I have it setup it can play any video from anywhere that ends with a supported format file extension. The way you specified the url gives me a great idea and it also allows for customization on a per site level. If we merge parts from our 2 methods we could come up with something pretty sweet.

    Anyway sorry for the psycho babble , let me know if you have a voice chat app. Either way answer me in a PC and we can continue there
     

Share This Page