11/07
2015
dev-master
9999999-devSculpin oEmbed bundle
MIT
The Requires
Sculpin oEmbed bundle
This bundle is not ready to use!, (*1)
Add this bundle in your sculpin.json
file:, (*2)
{ "require": { "bangpound/sculpin-oembed-bundle": "~1.0@dev" } }
and install this bundle running sculpin update
., (*3)
Now you can register the bundle in SculpinKernel
class available on app/SculpinKernel.php
file:, (*4)
class SculpinKernel extends \Sculpin\Bundle\SculpinBundle\HttpKernel\AbstractKernel { protected function getAdditionalSculpinBundles() { return array( 'Bangpound\Sculpin\Bundle\OEmbedBundle\SculpinOEmbedBundle' ); } }
In a Twig template, use the oembed function with a URL argument., (*5)
{{ oembed('https://vimeo.com/86129237') }}
excelwebzone/oemebd
does not support
oEmbed parameters.Sculpin oEmbed bundle
MIT