开发者 | ocean90 |
---|---|
更新时间 | 2014年4月17日 04:27 |
捐献地址: | 去捐款 |
PHP版本: | 2.9 及以上 |
WordPress版本: | 3.9 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
https://vine.co/v/bjHh0zHdgZT
By default no shortcodes are necessary, just a link!
And that was about your part. Easy, isn't it?
What does the plugin?
The plugin will fetch your links of your music and will convert it to a sexy video player.
Some usage examples
To embed a simple vide just embed a link like this:
https://vine.co/v/bjHh0zHdgZT
There are two different types of embeds, simple and postcard. You can see the difference here.
The default type is simple
. To use the postcard
type you had to choose the [embed] shortcode. Something like this works:
[embed type="postcard"]https://vine.co/v/bjHh0zHdgZT[/embed]
Please visit the FAQ section for more examples.
Sounds pretty good? Install now!
Vine Embed is not associated in any way with Vine by Vine Labs, Inc..
Feedback
If you want, you can drop me a line @ocean90 on Twitter or @Dominik Schilling on Google+.
More
If you want, you can try also some of my other plugins or visit my site wpGrafie.de.
vine-embed
directory to the /wp-content/plugins/
directoryYes, there are three different sizes. Small, big, and huge. By default the size is based on $content_width.
Examples:
[embed size="small"]https://vine.co/v/bjHh0zHdgZT[/embed]
[embed size="huge" type="postcard"]https://vine.co/v/bjHh0zHdgZT[/embed]
simple
to postcard
?Yes. You can use a filter:
function ds_vine_embed_default_type( $type ) { return 'postcard', } add_filter( 'vine_embed_default_type', 'ds_vine_embed_default_type' );
Just embed the link via the shortcode and use the play-audio
attribute. Example:
[embed play-audio]https://vine.co/v/bjHh0zHdgZT[/embed]
Yes. You can use a filter:
add_filter( 'vine_embed_default_play_audio', '__return_true' );
Yes. (But don't try to combine the size keywords, or the sky will fall on your head)