cpx3 Posted March 24, 2023 Share Posted March 24, 2023 Hello to all, I just installed Ryan‘s video embed module but I cannot get it to work. The videos appear in the cache, but regardless what settings I have, only the text with the URL will show up (it does neither hide the url if I set that option in the module‘s options.) On an other site it works with the same videos and settings but I have no idea what I am doing wrong. Any idea? Thanks in advance, Bernhard Link to comment Share on other sites More sharing options...
gebeer Posted March 24, 2023 Share Posted March 24, 2023 Did you add the textformatter to the field where the video content is stored in? I have the module running latest version and everything is fine.. PW 3.0.214, module version 2.0.2 PHP 8.0.12 1 Link to comment Share on other sites More sharing options...
cpx3 Posted March 24, 2023 Author Share Posted March 24, 2023 I did, yes. I reset it and set it again, but with no result. I also tried to delete the module to reinstall it, but it immediately reappears after deinstallation so I cannot delete it. When I deleted the files it was shown missing and PW asked me whether I wanted to delete it from the database (what I did) but then I got an SQL-error when trying to reinstall it. Seems as if something is broken with the module… Link to comment Share on other sites More sharing options...
gebeer Posted March 24, 2023 Share Posted March 24, 2023 My question was kind of stupid anyways since you wrote that the videos appear in the cache... As for the install/uninstall problem: Did you uninstall it through the module's edit screen before deleting the files? Link to comment Share on other sites More sharing options...
cpx3 Posted March 24, 2023 Author Share Posted March 24, 2023 Yes, I did at least ten times. But after hitting the Refresh button the module appeared as installed again (and even the textformatter was active in the textfield). Till now I was not able to uninstall the module to do a clean reinstall… Link to comment Share on other sites More sharing options...
gebeer Posted March 24, 2023 Share Posted March 24, 2023 Maybe try and remove the textformatter from the textfield before uninstalling the module. Link to comment Share on other sites More sharing options...
cpx3 Posted March 24, 2023 Author Share Posted March 24, 2023 Aaaah… thanks! Link to comment Share on other sites More sharing options...
gebeer Posted March 24, 2023 Share Posted March 24, 2023 3 minutes ago, cpx3 said: Aaaah… thanks! It's the little things sometimes ? Link to comment Share on other sites More sharing options...
cpx3 Posted March 24, 2023 Author Share Posted March 24, 2023 I uninstalled an reinstalled everything, but the problem remains. I only see the link, even if I configure the module to hide it… Link to comment Share on other sites More sharing options...
cpx3 Posted March 24, 2023 Author Share Posted March 24, 2023 By the way, it looks as if the module would not even touch the source code. There is just the link, exactly like I put it. But I got an entry in the log file, which says: Retrieved embed for: https://www.youtube.com/watch?v=… [page:241698, field:bodytext_ck] So the module seems to work (I replaced the v= with dots as otherwise the video appears here.) Any idea what might be going wrong? Link to comment Share on other sites More sharing options...
wbmnfktr Posted March 24, 2023 Share Posted March 24, 2023 Are you using multiple textformatters on that field? If so... try adding the VideoEmbed formatter either to the top or bottom. Is the video you try to embed public and listed or maybe age restricted? In such cases as unpublished, hidden, restricted it might not work. Finally make sure the url is in its very own paragraph. <p>https://www.youtube.com/watch?v=-2eIIthzqFo</p> This won't work <p>This video<br>https://www.youtube.com/watch?v=-2eIIthzqFo</p> Link to comment Share on other sites More sharing options...
cpx3 Posted March 26, 2023 Author Share Posted March 26, 2023 Whatever I do, it does not work (it shows only the link). I have only this textformatter and the video is public: <p>https://www.youtube.com/watch?v=ciyEItodGOw</p> I have no idea what else could be wrong… 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