Firstly, I’d like to apologize to booking for this taking so long. The update is coming up, I had a few days of issues with regular expressions and things didn’t go so well, but now it’s on track.
The main reason for the push on this update prior to my other changes is that some people have been having difficulty with the simple_html_dom.php file and I apologize for that. I was unable to get a hold of the person who made it, so I had to restructure my plugin for independence. Thank you to Booking for helping me with validating that the snippet worked.
Left to do : Add CSS to the admin / Almost done
Newly added : You can include the description of any National Film Board of Canada film that you link to via the oembed. If YouTube and Vimeo throw descriptions into their oembed xml files, then all will go well with their videos too. The element is video_description if they’re curious of if you know someone there and want to harass them to put it.
Newly updated : The layout is a little different on the front end now. There’s the title (an h3), followed by the embed code (which is set to the width/height of your choice), followed by the caption (Author/Provider) and then in a blockquote, there is a description. They all have their own individual CSS though, which is why my first point is not complete yet. Last minute change.
New admin : The administration panel is completely revamped. It has the colours of the NFB website and now shows you the last three films that were added to the NFB website, if you change the admin language, it will show you the last three French films as well. The oe links are provided underneath those videos if you’d like to add it to a post.
Future changes that will come up in the next update :
1. A button in the post page that will let you preview the embed before you insert it in the post.
2. Each film will have its own individual width/height set aside from the default if you wish to make an exception.
3. Embeds will be capable of being saved in the database so you aren’t having to make calls all the time for the information. (optional; sorry I couldn’t fit it in this patch)
4. Visibility of all posts that contain oembeds so you can keep track of which films you’ve already added (optional)
5. Separate CSS layout for all embeds.
6. Ability to replace an oe link with the actual embed. (Once this is done however, it’s irreversible. This is for the more determined folk.)
There will be more to come, but those are some of the changes in the upcoming fixes. Look for the update on at http://wordpress.org/extend/plugins/nfb-video-plugin/ within the next 48 hours.
0 Comments.