Blip.tv video not embedded after upload
| Project: | Media Actions |
| Version: | 5.x-1.0 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Media action uploads local file to blip, but does not delete the local file and modify the Embedded Video field to point to the newly created blip video.
I'm using:
Media Actions 5.x-1.0
Actions 5.x-1.0
Node Triggers 5.x-1.0
Embedded Media Field 5.x-1.0
Video Field 5.x-1.0
Here's a sample devel output after the node creation. field_embedded_video_field is the emfield field, field_local_video_file is video field.
field_embedded_video_field
Array
(
[0] => Array
(
[embed] =>
[value] =>
[provider] =>
[data] => Array
(
)
)
)
field_local_video_file
Array
(
[0] => Array
(
[fid] => 4038
[fileformat] => quicktime
[videox] => 0
[videoy] => 0
[bits_per_sample] =>
[videocodec] =>
[audiocodec] => ISO/IEC 14496-3 AAC
[sample_rate] => 48000
[channel_mode] => stereo
[playtime] => 0:32
[nid] => 631
[filename] => FritalianDunkinDonut.mp4
[filepath] => files/blip/FritalianDunkinDonut.mp4
[filemime] => video/mp4
[filesize] => 2500869
)
)

#1
Did you receive a CURL error after creating the node? I experimented this on one of the site I worked recently; it was due to the fact that the nodetriggers_nodeapi call was executed after CCK/videofield one.
To fix this, you need to make the nodetrigger module weight heavier than CCK/videofield weight. You have to edit the system table directly to do this.
#2
I didn't get any errors on node create/edit. I expected to see some in case there was a problem with the posting to Blip.tv but there were none.
I set nodetrigger weight to 10 in systems table (everything else is below 10) and still no embedded Blip.tv video. In recent log entries I see this:
content Apr 8 2008 - 11:39am blip_video: added Test upload
action Apr 8 2008 - 11:39am Sent node id 632 media to blip.tv
#3
Did you configure the Media Action correctly? Based on the output you sent, you should have field_local_video_file and field_embedded_video_field in your "Local Video Field Name" and "Embedded Video Field Name", respectively.
Just checking...
#4
I do indeed - I'm out of ideas why this is happening (or not happening). There's nothing in apache error log either.