如何在 Drupal 中渲染 YouTube 源?包含信息的字段包含以下内容:
[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
有没有办法将此信息呈现给 YouTube 视频嵌入代码?像这样的东西:
drupal_render_youtube('youtube://v/Cn59jVAHLTs');
是否有任何解决方案可以解决这个问题而无需自己编写孔嵌入代码?