emfield does not work with .SWF files

tiato - November 3, 2009 - 22:36
Project:Embedded Media Field
Version:6.x-1.17
Component:Embedded Video Field
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

I used Embedded Media Field to stream external SWF videos which worked fine until the latest update. After updating to version 6.x-1.15 I get the error "Sorry, you need to install flash to see this content"

at first I thought it was an issue with SWFObject API but am now convinced it is an emfield issue as I was able to start streaming again by not using emfield. Instead I have to manually code it into my nodes with a custom Input Format which allows PHP Filtering:

This resolved my issue:

<?php
  $url
= "http://php.opensourcecms.com/free/videos/drupal/drupal_blocks.swf";
 
$params = array(
   
'width' => '776',
   
'height' => '442',
  );
 
  print
theme("swfobject_api", $url, $params);
?>

Though I have it working again we were using emfield to avoid inserting code, we're trying to keep the body of our nodes strictly for content. It worked great before and do not understand why it stopped with new version. Any help is appreciated!

#1

nsputnik - December 3, 2009 - 21:25
Version:6.x-1.15» 6.x-1.17

I would love Emfield to have this feature also. If I could check a box in the Emfield submodule called "Embedded SWF" and then select it in CCK that would be great. It seems like such a simple feature that this module should have.

 
 

Drupal is a registered trademark of Dries Buytaert.