How can I render a YouTube source in Drupal? The field which contains the informations contains this:
[fid] => 59
[display] => 1
[description] =>
[uid] => 1
[filename] => Retarded running giraffe
[uri] => youtube://v/Cn59jVAHLTs
[filemime] => video/youtube
[filesize] => 0
[status] => 1
[timestamp] => 1340129371
[type] => video
[rdf_mapping] => Array
Is there any way to render this information to a YouTube-Video embed code ? Something like this:
drupal_render_youtube('youtube://v/Cn59jVAHLTs');
Is there any solution to solve this without writing the hole embed code by my self ?
These will help…
How to render a Youtube thumbnail in a template in Drupal 7
http://drupal.org/project/mediaelement