Community Forums › Forums › Archived Forums › Design Tips and Tricks › AgentPress Video Embed Resizing
Tagged: AgentPress Two
- This topic has 23 replies, 4 voices, and was last updated 12 years, 5 months ago by
seattlesavvy.
-
AuthorPosts
-
January 27, 2013 at 2:54 pm #15402
mikemueller
ParticipantNext up on my hit list is my very own blog
Embedded video is being somehow resized in my posts. Here's the latest http://areweconnected.com/social-media/chasing-rodriguez/
The baffling part is that it doesn't happen all the time - here's a post that the video is at the full pixel width I wanted. http://areweconnected.com/social-media/the-guest-post-club/
I've tried both the iframe style of youtube code and the old style code like
<object width="560" height="315"><param name="movie" value="http://www.youtube.com/v/EpNqSPHgIYw?hl=en_US&version=3&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/EpNqSPHgIYw?hl=en_US&version=3&rel=0" type="application/x-shockwave-flash" width="560" height="315" allowscriptaccess="always" allowfullscreen="true"></embed></object>
Baffled, I am.January 27, 2013 at 3:01 pm #15405AnitaC
KeymasterAre you entering the code in "text mode?"
Need help with customization or troubleshooting? Reach out to me.
January 27, 2013 at 3:07 pm #15407mikemueller
ParticipantAnita C. Yes I am. 🙂
January 27, 2013 at 3:16 pm #15408AnitaC
KeymasterCan you try the iFrame code again on there so I can see what that looks like?
Need help with customization or troubleshooting? Reach out to me.
January 27, 2013 at 3:19 pm #15410mikemueller
ParticipantDone! still the same with
<iframe width="560" height="315" src="http://www.youtube.com/embed/EpNqSPHgIYw?rel=0" frameborder="0" allowfullscreen></iframe>
January 27, 2013 at 3:27 pm #15411AnitaC
KeymasterTry this one without the extra code after the question mark (?)
Crap!
<iframe width="560" height="315" src="http://www.youtube.com/embed/EpNqSPHgIYw" frameborder="0" allowfullscreen></iframe>
Need help with customization or troubleshooting? Reach out to me.
January 27, 2013 at 3:42 pm #15420mikemueller
ParticipantI see what you are trying to do but nope - that won't work. 🙁
In fact it tries to iframe in my home page
January 27, 2013 at 3:55 pm #15422AnitaC
KeymasterThe only other thing I can think of is to remove all code and just place the URL on the page in Text mode. In one of the upgrades they made it possible to just add the URL and it will convert it. Try adding that, save it and let's look at that. There's something kooky with that page! 🙂
Need help with customization or troubleshooting? Reach out to me.
January 27, 2013 at 4:00 pm #15423mikemueller
ParticipantOk, tried that and yes it get's the movie in there - but once again, same size.
baffled, still. 🙁
January 27, 2013 at 4:12 pm #15424AnitaC
KeymasterOpen up the code and right before the source (SRC) insert this:
width="100%" height="400px"
I can edit the code with Firebug and it goes full width.
Need help with customization or troubleshooting? Reach out to me.
January 27, 2013 at 4:23 pm #15428mikemueller
ParticipantThanks for the help - just did so the iframe embed code looks like
<iframe src="http://www.youtube.com/embed/EpNqSPHgIYw?rel=0" height="400" width="100%" allowfullscreen="" frameborder="0"></iframe>
Still, something is overriding the sizing. This is fun, eh?MM
January 27, 2013 at 4:30 pm #15430AnitaC
KeymasterTry this (LOL)... create another post - copy and paste the code in there and view it DRAFT. See if it does the same thing in a new post.
Need help with customization or troubleshooting? Reach out to me.
January 27, 2013 at 4:36 pm #15431mikemueller
ParticipantIt does.
I am writing a new post now. Added the embed code (in text mode), saved the draft, then switched to visual mode. The video shows as a full size box in the content area and when I 'preview' the post - it's the same small video.
January 27, 2013 at 4:39 pm #15432AnitaC
KeymasterRe-copy it in Text and save it draft - don't switch back to Visual at all... just save in Text and view it. Did you create the post that "works right" before or after you created this one?
Need help with customization or troubleshooting? Reach out to me.
January 27, 2013 at 4:47 pm #15436mikemueller
ParticipantJust for you!
http://www.youtube.com/watch?v=AQb2snXp8ag
As for creating the post before or after - the one that worked was one that I created before the issue. Yet I can go back a few years and find videos that are doing the same thing. I know it's not a random thing but it's working that way.
January 27, 2013 at 4:49 pm #15437AnitaC
KeymasterSo now I think it's an upgrade issue with WordPress possibly. We should try to Google this problem now.
Need help with customization or troubleshooting? Reach out to me.
January 27, 2013 at 5:02 pm #15438mikemueller
ParticipantNot that I need to mention - I'm up to date on everything. wp 3.5.1 Genesis1.9.1 and so on.
I've tried to use Firebug, chrome and a few others to source the issue to no avail.
I appreciate your help - thanks for trying!January 27, 2013 at 9:50 pm #15506AnitaC
KeymasterMike, someone else posted this problem on WordPress.org. I left a message letting him know that we were trying to figure this out to, but what he said was if you have a video on a page/post where there are "other links" - the video shrinks. But it you put it on a page with all text - the video will go full width. Try that to see what happens. Here's the link on WordPress.org.
http://wordpress.org/support/topic/links-cause-youtube-videos-to-display-smaller
Need help with customization or troubleshooting? Reach out to me.
January 27, 2013 at 9:52 pm #15507AnitaC
KeymasterOkay I found this too - http://www.wpbeginner.com/wp-themes/how-to-set-oembed-max-width-in-wordpress-3-5-with-content_width/.
Seems this may fix the problem.
Need help with customization or troubleshooting? Reach out to me.
January 28, 2013 at 11:18 am #15587mikemueller
ParticipantAwesome! Thanks Anita! You Rock!
I'll give it a try. -
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.