Flameblade
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Making embedded video larger on Single PostI figured it out. I put the video embed into an iframe tag and setting the width to 100% worked.
Forum: Themes and Templates
In reply to: Change embedded video size in Single PostYou can use one custom field to enter the video embed code so that in the single page you cna call it different size video.
I tried that. Setting the embed width to 100% fixes the video at a tiny size instead of making it fill the field, the only way to make the video a certain size is to specifically write a number, but I want it to be bigger on the Single Page.
Use any embed plugin so that we can use any size videos in any page with shortcode or php function.
I tried several but none of them work. Some don’t even display the video at all. Any suggestions?
————————————
My current setup is this: In my header.php I have this code in the body
<body<?php if ( is_single() ) {
echo ‘ class=”widescreen” ‘; } ?>>This sets the ‘widescreen’ class if it’s a Single Page
Then in style.css:
.video-embed {
text-align: center;
width: 660px;
padding: 0px 0px 40px 0px;
position: relative;
left: -2px;
}.widescreen .video-embed {
text-align: center;
width: 900px;
padding: 0px 0px 40px 0px;
position: relative;
left: -2px;
}This sets the field for the video. It’s wider if ‘widescreen’ is true.
And then in the post I have this:
<div class=”video-embed”> [embed width=660px] *VIDEO URL* [/embed] </div>
The embed size is set to 660px because setting it to 100% displays the video in a tiny size. But I want it to be 900 if ‘widescreen’ is true.
Forum: Fixing WordPress
In reply to: Putting tag-page posts in chronological orderBump for response
Forum: Fixing WordPress
In reply to: Image links in sidebarThat didn’t work, but strangely, changing the class width to 0px seems to have worked perfectly. Thank you for pointing me in the right direction.
Forum: Fixing WordPress
In reply to: Image links in sidebarThat didn’t seem to do anything.
Forum: Fixing WordPress
In reply to: Image links in sidebarAdded