Jump to content
reformedmedia

You Tube Features

Recommended Posts

reformedmedia

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
catrina

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.


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
reformedmedia

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
catrina

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.


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
reformedmedia

the only problem is that the width doesn't conform

Share this post


Link to post
Share on other sites
reformedmedia

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
James B

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.


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
reformedmedia

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
James B

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.


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
reformedmedia

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
Danny

The topic was marked as resolved.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Similar Content

    • travistsickle
      By travistsickle+
      The youtube video on the journey section isn't playing.  The image shows, but it just pops up white.  I tried multiple devices and browsers.
       
      www.sicklehunter.com  it's on the front page.
    • pehja
      By pehja+
      https://pehjaproduction.se/webbdesign/  Video is not showing up in Journey section. Why? I have entered this in the settings 
       
    • stephen2
      By stephen2+
      Hey, 
      I'm using your plug-in Video Slider. Everytime I enter an end time for the video - hit save and refresh - the plugin crashes.  The only to use it again is to deactivate it, delete the affected section and start over. 
      Any ideas? 
      Stephen
       
    • todd@kitetails.org
      By [email protected]
      HI -   I've been having problems with MediaBox cropping a Youtube video I am trying to embed.   Regardless of the size of the video, the bottom is cropped out. This is also regardless of the "Disable Media Vertical Centering" function and "MediaBox Min Height" settings in MediaBox.   I've been using the "Text and Embed HTML" box to embed the video, using a Pagelines shortcode, [pl_video type="youtube" id="KxJlJ7NbYLY"]   Any possible ideas as to where I am going wrong?   Thanks in advance for the assist!   Todd
    • DanatTLFN
      By DanatTLFN
      Hello there!
       
      I'm a bit panicky this evening as I was just making a quick change to the top half of my page when the DMS decided to stop loading up.
       
      The steps I took before refreshing are as follows: 
       
      Added in a Masthead
      Embedded a YouTube Video into the Video field on the editing panel
      Refreshed 
      Began pulling hair out
       
      After this I went to troubleshoot it and have deactivated all plugins however the problem still persists with all plugins deactivated. I am pretty sure it is a something to do with the Masthead, however not being able to get in and remove that section, makes seeing a solution somewhat rather difficult.
       
      Anyway I shall look forward to hearing your response.
       
      PS. I am running DMS 2 
      GoDaddy hosting
      and 21 Plugins all of which I have mentioned in previous posts.
×