Recommended Posts

reformedmedia
0

reformedmedia 0

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
103

catrina 103

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.

Share this post

Link to post

Share on other sites

catrina
103

catrina 103

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.

Share this post

Link to post

Share on other sites

reformedmedia
0

reformedmedia 0

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
436

James B 436

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.

Share this post

Link to post

Share on other sites

reformedmedia
0

reformedmedia 0

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.

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

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

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.