Forum Replies Created
-
-
10 years ago in reply to: How to change player alignment
Hello,
I have the same problem. I bought a new responsive WP theme and the videos embedded via a shortcode don’t align properly to the left side. I already have thousands of posts in which videos were embedded using FV player’s shortcodes so it would be extremely time-consuming to change the alignment manually on each individual post inside the WP dashboard.
Additionally, the alignment to the left side is not perfect. The video player should be positioned a little more to the left, and the text that appears below the player should not be affected by this setting (it also gets aligned to the left, which looks very ugly).
Please take a look here (the video is at the bottom of the post):
http://www.g510keyboard.net/2014-05/chandra-x-ray-observatory/
By the way I use this shortcode:
[fvplayer src='http://www.g510keyboard.net/wp-content/videos/hubble.mp4' splash=http://www.g510keyboard.net/wp-content/videos/hubble.jpg splashend=show align="left" width=550 height=309]
Is there a way to make the alignment to the left as the default setting so that it gets applied to all posts site-wide?
I can also buy the license for the FV flowplayer player if need be, since this is very important to me.
Regards,
BenHello Martin,
Thanks a lot. The new align function looks neat, but there is another problem now – any text that appears below the video player gets “aligned” vertically next to the player’s vertical edge, and that obviously doesn’t look nice.
Please take a look at the bottom of this post:
[link removed]
I used align=left in the shortcode. Is there a way to avoid this unneeded alignment of text while still using the shortcode?
By the way, I managed to make the player align to the left by adding some code to the CSS file, namely in the first line:
.flowplayer{position:relative;width:100%;left:-30px;background-size:contain;background-repeat:no-repeat;background-position:center center;display:inline-block;}
I added “left:-30px” and that seems to have solved my issue with alignment. :)
As for the “null” word, you were right – it appears only when I am logged in.