I've gone over my settings three times because I thought that this had to be something that I was doing wrong. I cannot find any issues on my end. I've never used the "critical" priority before, but if this is truly an issue, it's critical. I apologize in advance if I've missed something. I've followed the documentation as it appears on the module's project page.
Basically, the module just doesn't seem to work.
For example, after performing the setup steps below, I attempted to embed a video from Treet.tv into one of my posts using the "Filtered HTML" input format. Treet.tv is NOT in my list of approved domains in the Embed Filter settings, but the video displayed just fine in the post.
I decided to remove youtube.com from the list of approved domains. I embedded a YouTube video into a post using the "Filtered HTML" input format. It still displayed on the saved post.
These were my setup steps.
- Install the module.
- Add
<object> <embed> <script> <param>tags to the "Filtered HTML" input format. - Activate the "Object and embed tag filter" filter on the "Filtered HTML" input format.
- Rearrange the filters used by the "Filtered HTML" input format so that "Object and embed tag filter" filter is directly below the "HTML filter" filter.
Comments
Comment #1
drupal_acc commentedI can confirm this. I just ran the same test with the following embed code:
This source was not on my approved list and the module is installed correctly.
Comment #2
drupal_acc commentedJust put a few debug statements into the code to perform a trace. It looks like the code is not being executed at all.
The following function is never called, effectively bypassing the entire filter:
embedfilter.module
I'll try to track down the source.