PWaddict Posted March 28, 2017 Share Posted March 28, 2017 Just now, artaylor said: @PWaddict: Yes it is a textarea with an Inputfield Type of CKEditor Is the Content Type: Markup/HTML? If you have that too then I'm not sure why it's not properly working for you. Maybe another installed module causing this issue. Link to comment Share on other sites More sharing options...
artaylor Posted March 28, 2017 Share Posted March 28, 2017 Attached a screengrab of the field setup screen. Not sure if it matters, but when I tried to do the standard install of the module via Module Class Name, I got some weird errors from PW site, so, I installed it manually. It is listed in the modules list and I can access the settings so I am assuming the manual install went ok. I think I will uninstall then reinstall the module and see if that helps. Link to comment Share on other sites More sharing options...
artaylor Posted March 28, 2017 Share Posted March 28, 2017 Uninstalled the module then tried to reinstall using the Module Class Name but got the following error: I will do a manual install again. Link to comment Share on other sites More sharing options...
cjx2240 Posted April 5, 2017 Share Posted April 5, 2017 5 years late but just want to say thanks for this module! I would prefer to use just the CKEditor media button but I had issues installing that. Link to comment Share on other sites More sharing options...
benbyf Posted May 22, 2017 Share Posted May 22, 2017 seems to have stopped working on a fresh module install on a new site, not had an issue before now with hthis great module. PW v3.0.36, no errors in my logs, just link showing up no video Link to comment Share on other sites More sharing options...
cb2004 Posted May 23, 2017 Share Posted May 23, 2017 On 2017-5-22 at 10:31 AM, benbyf said: seems to have stopped working on a fresh module install on a new site, not had an issue before now with hthis great module. PW v3.0.36, no errors in my logs, just link showing up no video Remove the link and it should kick in again. Needs to just be plain text. 1 Link to comment Share on other sites More sharing options...
benbyf Posted May 25, 2017 Share Posted May 25, 2017 ... not sure thats a fix. do you mean dont use the CKEditor or within a CKeditor field delete the link and paste in again, as i tried that and did not work Link to comment Share on other sites More sharing options...
cb2004 Posted May 26, 2017 Share Posted May 26, 2017 Yes delete the link from the ckeditor field. If it is an <a href to the YouTube video it will not embed. Link to comment Share on other sites More sharing options...
phil_s Posted June 14, 2017 Share Posted June 14, 2017 Dummy question here: If I wanted the plugin to add a specific player parameter to all youtube shortlinks (e.g. enablejsapi=1) where would be the best place to add this? I changed line 170 to: "&format=json&maxwidth={$this->maxWidth}&maxheight={$this->maxHeight}&enablejsapi=1&html5=1"; but since the oembed?url gets rewritten by youtube I'm not sure this is working. Any pointers? Cheers guys! Link to comment Share on other sites More sharing options...
PWaddict Posted June 14, 2017 Share Posted June 14, 2017 30 minutes ago, phil_s said: Dummy question here: If I wanted the plugin to add a specific player parameter to all youtube shortlinks (e.g. enablejsapi=1) where would be the best place to add this? I changed line 170 to: "&format=json&maxwidth={$this->maxWidth}&maxheight={$this->maxHeight}&enablejsapi=1&html5=1"; but since the oembed?url gets rewritten by youtube I'm not sure this is working. Any pointers? Cheers guys! Use the Global Options for Embedded YouTube/Vimeo Videos module to add player parameters. Link to comment Share on other sites More sharing options...
renobird Posted September 27, 2017 Share Posted September 27, 2017 What's the current method for getting this to work with CKEditor? I can't turn off HTML Purifier, or ACF. Link to comment Share on other sites More sharing options...
Robin S Posted September 27, 2017 Share Posted September 27, 2017 1 hour ago, renobird said: What's the current method for getting this to work with CKEditor? I can't turn off HTML Purifier, or ACF. This module is a textformatter, so it doesn't write anything to the CKEditor field. As long as you can insert a link URL into your field as text without interference from HTML Purifier then there shouldn't be any problem. Link to comment Share on other sites More sharing options...
renobird Posted September 27, 2017 Share Posted September 27, 2017 Thanks Robin, It works fine with a textarea that isn't using CKEditor, and since it appears that the <iframe> tags are being stripped out; I figured it was a CKEditor issue. Link to comment Share on other sites More sharing options...
Robin S Posted September 27, 2017 Share Posted September 27, 2017 2 minutes ago, renobird said: since it appears that the <iframe> tags There shouldn't be any iframe tags involved - you simply insert the URL to the video (not an embed snippet or anything like that) in a new paragraph in your CKEditor field. Link to comment Share on other sites More sharing options...
renobird Posted September 27, 2017 Share Posted September 27, 2017 The textformatter adds the iframe, that's how the embed works. At least it used to, I'll check the code again. Link to comment Share on other sites More sharing options...
Robin S Posted September 27, 2017 Share Posted September 27, 2017 I might be wrong, but my understanding is that the ACF/Purifier settings for a CKEditor field only affect content that goes through the CKEditor inputfield and is then saved to the database. A textformatter on the other hand never saves its changes to the database and it isn't involved with the inputfield - it just makes changes on-the-fly as the content is output to the front-end. Another thought: if you have multiple textformatters applied, check to see if the order they are applied makes a difference. 2 Link to comment Share on other sites More sharing options...
renobird Posted September 27, 2017 Share Posted September 27, 2017 Yeah, that's right. At least that's my understanding as well. I just can't figure out why it won't work with CKEditor, even when it's the only textFormatter. I thought perhaps there was some other interaction with CKEditor that I was missing. Maybe that's not the issue at all. I'm stumped. I'll try a fresh install and work my way backwards. Link to comment Share on other sites More sharing options...
horst Posted September 28, 2017 Share Posted September 28, 2017 @renobird the url must be written in its own line, only surrounded by <p>paragraph tags</p>. Have you checked this too? 1 Link to comment Share on other sites More sharing options...
flydev Posted September 28, 2017 Share Posted September 28, 2017 What @horst said. Also I got the same issue two days ago while I was trying to insert Facebook video in CKEditor. I needed to add this line to the Extra Allowed Content field to support iframe with HTML Purifier On: iframe[src,title,width,height,allowfullscreen,frameborder] 3 Link to comment Share on other sites More sharing options...
adrian Posted September 28, 2017 Share Posted September 28, 2017 6 hours ago, flydev said: Also I got the same issue two days ago while I was trying to insert Facebook video in CKEditor. I needed to add this line to the Extra Allowed Content field to support iframe with HTML Purifier On: iframe[src,title,width,height,allowfullscreen,frameborder] Not actually the same issue - this module doesn't insert iframe (or any other code) into the RTE field. It's a textformatter, so it converts the youtube "view" URL into an iframe embedded URL on page load (frontend) only. Link to comment Share on other sites More sharing options...
renobird Posted September 28, 2017 Share Posted September 28, 2017 Definitely on it's own line. Surrounding <p> tags are there. Everything checks out, and yet — *crickets* I appreciate you all confirming it's not CKEditor related. I'll explore other options. Link to comment Share on other sites More sharing options...
PWaddict Posted September 28, 2017 Share Posted September 28, 2017 @renobird Are you trying this on localhost or server? You should try both with the same installation. Link to comment Share on other sites More sharing options...
renobird Posted October 4, 2017 Share Posted October 4, 2017 Just wanted to report back in case I can save anyone else an hour or so. After bashing my head against this I finally tracked it down to domain restrictions on some of the Vimeo videos. In my test env I was using Youtube and Vimeo links from my personal account (no embed restrictions). In production we were using Vimeo links from a colleagues account — they all had domain restrictions set. Removed the restrictions, and waddya know, it works just fine. 5 Link to comment Share on other sites More sharing options...
strandoo Posted November 20, 2017 Share Posted November 20, 2017 Hi all. This has been driving me nuts: I've used this module previously and it worked perfectly. I've got it on 2 sites, but music-related. One works normally; I use the textformatter on the body text and videos display fine. The other only works if it's a Vimeo video; YouTube URLs slow the page loading then only displays the URL. I've tried a number of tests and different URLs and I can't figure this out. Both sites are not new and I'm pretty sure that it used to work where now it doesn't. Here are two samples (they are past gigs, so I can play around with them without messing up the live sites): Works: https://waveneyvalleyfolkcollective.co.uk/events/kirsty-merryn-jack-harris/ Doesn't Work: http://www.burstoncrown.com/events/sunday-sessions/falling-from-trees/ Any suggestions? Link to comment Share on other sites More sharing options...
artaylor Posted November 20, 2017 Share Posted November 20, 2017 @strandoo Not sure if this would help, but I notice you are using the short form url on the second example (that does not work) of https://youtu.be/LBY12usmYAA, have you tried using the actual youtube url (which I cannot link to here because it embeds the video)? 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