Roope Posted May 1, 2013 Share Posted May 1, 2013 I've added Insert/Edit Embedded Media button to TinyMCE and noticed error with YouTube and Vimeo links. Tiny changes video type correctly to HTML5 video and rewrites the url with both cases but when you click insert, fields go blank and nothing actually inserts to page content. It throws "TypeError: q is undefined" error from tiny_mce.js right after you set file url value. Link to comment Share on other sites More sharing options...
adrian Posted May 2, 2013 Share Posted May 2, 2013 As an alternative, have you tried Ryan's Youtube/Vimeo module: http://modules.processwire.com/modules/textformatter-video-embed/ Link to comment Share on other sites More sharing options...
Roope Posted May 2, 2013 Author Share Posted May 2, 2013 No I haven't but this looks really simple - as allways Will install it immediately, thanks! Anyway, it would be nice to have this media button to do what it supposed to and I thought to fix it my self but my knowledge doesn't get me that far since error is comming from Tinys compressed js file. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now