An easy way to create an embed using a shortcode that grabs width, height, and styling settings from an options page, as well as default description ………
Version – 0.2.3
A plugin that allows you to add a shortcode to your posts to embed your videos, or other embeddable content such as images. There are default width, height, and style settings, as well as default settings for video descriptions with styling settings. You can set universally for all of your videos which can be set on the options page. If you need one of your videos to have a different width, height, or styling you can just add tags to the shortcode that override the default settings. This Plugin supports a few different Video Types, Including (but not limited to) M4V, Quicktime, SWF, and Youtube. It works as an embedder, so basically any site that provides an Embed Code will work. (Logo by Fadi George)
Upload embed-width folder to “/wp-content/plugins/”, go into the wordpress admin plugins page and activate. Or just download the zip and upload it to your site via wordpress admin plugins page.
- This is where you can set your default settings, and none of the default settings are required. (Logo By: Fadi George)
- Information on Plugin Use
- More Information On Plugin Use
- What My Default Settings cause my video to Look Like
- How the video looked when I overrided the default settings and wrote special option tags into the shortcode.
Other Notes :
The Set-Up Is quite Simple Actually. Once the plugin is installed it is ready to go. You can set a default width and height if you often upload videos of simmilar size. All you have to do after that is input this shortcode into the content area of your posts or pages:
[embedwidth src="Insert Video Link Here"]
And This is what It will look like with a file actually hosted on your server, such as an m4v.
Also, you can set custom Width, Height, and Styles for individual videos, by following this criteria:
Now, say that you do not often times upload videos of simmilar size, or just want to change the width and height of a certian video. That can be done by just adding some extra commands into the short code. The width an height you write in the shortcode automatically over-ride the default settings, but if nothing is in the boxes above then it will not know what size to make it unless you specify it in the shortcode. A shortcode with custom Width and Height would look like this:
[embedwidth width="100" height="100" src="Insert Video Link Here"]
Obviously, you can change the width and height I have specified above to whatever numbers you would like. You don’t have to add “px” after your number, you can leave the value as a plain integer.
Adding styles is the same way, except the tag would look like this:
[embedwidth style="border: 1px solid #fff;" src="Insert Video Link Here"]
(Logo by Fadi George)