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

YouTube on Profile Page [Deleted]

Discussion in 'Template Modifications' started by Sheldon, Apr 3, 2013.

  1. Sheldon

    Sheldon Well-Known Member

    ArnyVee and LPH like this.
  2. shenmuee

    shenmuee Active Member

    Is it possible to autoplay YouTube videos here?
     
  3. Sheldon

    Sheldon Well-Known Member

    Yes, the code inserted has it set to autoplay.
     
    shenmuee likes this.
  4. shenmuee

    shenmuee Active Member

    Thanks a lot! =^.^=
     
  5. Sheldon

    Sheldon Well-Known Member

  6. shenmuee

    shenmuee Active Member

    I'm not understand!! How I can Install this addon? Where is the files? I'm already visited your web site and got this error;
    Code:
    You do not have permission to view the full content of this resource. 
     
  7. Sheldon

    Sheldon Well-Known Member

    shenmuee likes this.
  8. shenmuee

    shenmuee Active Member

    Works Great Now :D Thank you^^
    kkkkkkkkkkkkkk.jpg
     
  9. Jakaan

    Jakaan New Member

    I was unable to get it to work. I was able to get the additional field on the profile, however the video does not appear.
    This link shows where I placed the code.
    This link shows where the video should be displayed.
    This link shows the new field in the profile with the YouTube video code.

    Anyone see if I'm doing anything wrong?

    Thanks
     
  10. Sheldon

    Sheldon Well-Known Member

    I don't see where your first link is showing any code.
     
  11. Jakaan

    Jakaan New Member

    Sorry, that was weird. I fixed the link but can also show it Here. I applied the same code to the "default" and "Flexile Dark Standalone" styles.
     
  12. Sheldon

    Sheldon Well-Known Member

    The only reason I can think of why it wouldn't show would be something to do with how you have it set up. Do you have ads placed in that area?
     
  13. Sheldon

    Sheldon Well-Known Member

    I'd have to know what you have in your Custom User Field as well... .that is the only variable I see that you haven't shown.
     
  14. Jakaan

    Jakaan New Member

    I do have [bd] Rotating Ads installed but disabled while I troubleshoot this.
     
  15. Sheldon

    Sheldon Well-Known Member

    You will have to double check your Custom User Fields. Its the only thing that I can see that would cause it to not display. Not sure if anyone else using Flexile had this issue or not.... cannot recall.
     
  16. Jakaan

    Jakaan New Member

    Hey, you led me in the right direction. Note to self: "Ensure the field name you create for your profile "youtube" is accurately reflected in the two referenced places in the code. This is case sensitive!

    Now, I just need to figure out what to do when I get the message "Video Player is too small".
     
  17. Jakaan

    Jakaan New Member

    Based upon some google searching, it seems that YouTube is implementing a minimum height and width requirement to facilitate their ads. I read that 230 x 230 is the minimum required. On my sight, this work and makes it so the video plays, however it pushes the video into other things since I am using a fixed width. I will probably have to change the fixed width so that it works correctly. Here is currently the way it looks.
     
  18. Sheldon

    Sheldon Well-Known Member

    Dunno, it works with Soft Responsive, Quark, Black Responsive, Default, Fusion Gamer, Core, xenFracture, xenBook, xendisConnect.... all those with the code I supplied.
     
  19. Jakaan

    Jakaan New Member

    Thats cool, and thanks for your help. If in the future it becomes an issue, you can reference this post from Aug 2012:
    Code:
    Hello,
     
    My earlier reply should be accurate:
     
        The informal answer is that after talking to all the relevant folks from the various teams that work on things like in-video ads, the restriction that is currently applied boils down to the fact that there needs to always be at least 200px of vertical space available for showing video content in any player. There are some types of in-video ads that require the video controls to be visible (even if the controls are hidden via a player parameter), and those controls take up ~30px. So if one of those types of ads are chosen in a player that's only 200px tall, playback will fail despite the fact that the controls would normally be hidden.
        The new guidance is going to boil down to asking developers to use 230px as a minimum height to account for this scenario. While you can often get away with using 200px and hiding the controls, there's no way to guarantee that you will never play back content that requires one of those special ads, and if that happens, the playback will fail.
     
     
    We do still need to get this added to the official docs and blog post.
     
    Cheers,
    -Jeff Posnick, YouTube API Team
    apiblog.youtube.com | Google+: goo.gl/bZflZ
    YouTube Developer Relations is hiring! developers.google.com/jobs
     
    
     
  20. Sheldon

    Sheldon Well-Known Member

Share This Page