Archived

This topic is now archived and is closed to further replies.

  • 0

Resolved You Tube Features


Question

Posted · Report post

Can we alter the appearance of the embedded youtube player? I would prefer not to have the player at the bottom of the video or the title at the top. Also, It would be nice to be able to give the player a height.

What other code is there besides the "type" and "ID"?

thanks for your input.

Share this post


Link to post
Share on other sites

11 answers to this question

Posted · Report post

This is a YouTube-related issue rather than a PageLines-related issue, but I don't think YouTube allows this level of customization with their embedded video players (at least, when it comes to hiding the player and the title). You can adjust the height with the height property in the embed code.

Share this post


Link to post
Share on other sites

Posted · Report post

I tried adding the height to the embed code on the tools sectionof pagelines, but it didn't seem to affect anything. Can you give me the correct code for the height?

Here is what I am doing, I added the embed from youtube currently.

www.hafnerfinancial.com

Share this post


Link to post
Share on other sites

Posted · Report post

Ah, I thought you were referring to the YouTube embed code itself. All of the attributes for that code are listed in the Tools page. I don't think there is a height attribute available. If you want to use it, it's best to just use the YouTube embed code.

Share this post


Link to post
Share on other sites

Posted · Report post

the only problem is that the width doesn't conform

Share this post


Link to post
Share on other sites

Posted · Report post

Are you adding a width attribute?

Share this post


Link to post
Share on other sites

Posted · Report post

I tried adding the height value height="275" in the shortcode, but it didn't seem to work.

Share this post


Link to post
Share on other sites

Posted · Report post

Hi there, have you managed to resolve this? I've checked the link you provided and the video seems to be sized perfectly inbetween the columns. Let us know if you require further assistance.

Share this post


Link to post
Share on other sites

Posted · Report post

hi James,

It is not the width that is the problem, it's the height. I am trying to control the height of the player through the shortcode. This way it lines up with the other elements on the homepage. Is there an attribute that can control the height within the shortcode? I've tried the one above which seems standard. Perhaps I can try the css? I'll try that and get back to you.

PS. If I use the iframe embed that youtube provides, when the page conforms to ipad the third column hides behind the iframe. That's what I'm trying to avoid by using the shortcode.

Share this post


Link to post
Share on other sites

Posted · Report post

Just to check,its the hafner finances video? If using youtube try the old embed code, they'll be an option for it in the embed menu. It will let you specify the width and height and it won't put in an iframe.

Share this post


Link to post
Share on other sites

Posted · Report post

I tried your suggestions, the only problem with the old embed code is that still hides the third box column under it when it conforms to the ipad (or if you drag your browser inward).

I figured out a solution to the height issue. If you create a CSS ID for the box that the video shorcode is assigned to (in my case the CSS ID is #fbox_5. This is important so it only affects this video and no other). Then use the class .pl-video, you can bump up the height of the video.

The strange thing is that I could not put the actual height (which should be 275px. It made it really large. Instead, I just used a shorter pixel height and it worked. The video width now conforms and things don't go crazy.

#fbox_5 .pl-video {

height:50px;

}

I hope that makes sense. Perhaps there is an easier way. This seems to work. So for me, this topic is resolved.

Share this post


Link to post
Share on other sites

Posted · Report post

The topic was marked as resolved.

Share this post


Link to post
Share on other sites