I upgraded from 5.x-1.6 to 5.x-2.0 (just copied in the new module) and I now get errors that read:

warning: Division by zero in /var/www/vhosts/viparagliding.com/httpdocs/sites/default/modules/video_filter/video_filter.module on line 131.

I 'upgraded' becase 1.6 stopped working....very strange. I had it working where I put code in like:
[video:http://youtube.com/watch?v=bsh75cvpf7U]

And it would embed the video, no problem...and then it stopped.

I have this filter enabled on both the Filtered and Full HTML but neither work.

Why can I not just put the HTML code supplied by YouTube into the node to show the video? When I put that code in, it shows nothing.

Comments

mdowsett’s picture

I got it to work....kinda. It would have been nice if there was some documentation saying to go into your input formats and configure the settings. Since the default sizes were empty, I was getting that dividing be 0 error.

So the old embedded youtube videos started working again but adding new links using the video filter doesn't seem to work...is that not bizarre?

I still don't understand why I can't just put the HTML code YouTube gives and put that in the node.

mdowsett’s picture

I just thought now that the code YouTube gives you to embed their videos have the

& tags used...so I added them to the filter formats as well....and it didn't help.
fokkezb’s picture

Status: Active » Fixed

The problem was that when you save the filter settings with blank values, it save to 0 and gave the error. This is fixed in the 2.2 versions.

I don't get why you'd want to past the full embed code. Then you don't need this module. The reason I made this module is because most of the time you don't those huge embed and object codes in your texts.

mdowsett’s picture

because most user don't want to read instructions and look for the "[video:URL]" 'instruction' and most won't be able to figure out how to follow that instruction. People are used to going to YouTube and grabbing that large code to embed it and just drop that in a post/forum, etc. That's what they are used to doing on phpbb forums and their blogspot blogs....why can't they do it in Drupal?

mdowsett’s picture

Status: Fixed » Active

this is still causing me grief. Since I got it 'working' the old YouTube links I had in the old pages started working....but I can't create new blogs and embed YouTube videos (but the old ones keep working).

How strange is that!?

ANny ideas?

mdowsett’s picture

Status: Active » Closed (duplicate)

I just seen this link - http://drupal.org/node/214186 and it is the same....Mac FF.

Any resolution?