YouTube embed

I have searched through the forums, and can not find a resolution to why I can not embed a youtube video to my site with the Videos module. What server/site settings should I have? What should I check? For 7.1.4

caredesign.net
Quote · 20 Feb 2014

 

I have searched through the forums, and can not find a resolution to why I can not embed a youtube video to my site with the Videos module. What server/site settings should I have? What should I check? For 7.1.4

 

Admin > video module > settings > list of uploaders at bottom. 

Guynuked -- Dedicated server and Dolphin-friendly hosting with Zarconia.net
Quote · 20 Feb 2014

that part is fine - when trying to embed a video the little circle thingy just keeps spinning.

caredesign.net
Quote · 20 Feb 2014

Let me test on my test site to make sure that YouTube (I assume YouTube) has not changed something.

UPDATE: yes, embedding worked fine.  Are you grabbing the URL from the address bar?  Don't use the link that YouTube presents, copy the URL from the address bar.

Geeks, making the world a better place
Quote · 20 Feb 2014

Check your PHP configuration and see if popen is disabled for any reason.

Nothing to see here
Quote · 20 Feb 2014

 

Don't use the link that YouTube presents, copy the URL from the address bar.

 Actually, the video should embed whether you choose to use the link in the address bar or the 'short' URL when you click the Share tab.

Nothing to see here
Quote · 20 Feb 2014

 

 

Don't use the link that YouTube presents, copy the URL from the address bar.

 Actually, the video should embed whether you choose to use the link in the address bar or the 'short' URL when you click the Share tab.

Yes, it worked on my site.  However, I just remember that I have installed an embed videos module from the market so I am not at the default Dolphin embedder.

Geeks, making the world a better place
Quote · 20 Feb 2014

 

Check your PHP configuration and see if popen is disabled for any reason.

 I do not see any popen anywhere. I do see fopen - and that is

allow_url_fopen = On

caredesign.net
Quote · 20 Feb 2014

Go into Admin Panel > Tools > Host Tools and then click the Php Info link. Check and see if popen is listed in the disable_functions

Nothing to see here
Quote · 20 Feb 2014

i dont have popen anywhere in my php.ini or in the host tools.

caredesign.net
Quote · 20 Feb 2014

OK. It normally works hand-in-hand with Safe Mode. So here are some other questions:

Are you on shared or dedicated hosting?

Do you have any other sites on this 'account' where embedding works?

Does this happen with ALL YouTube videos?

Nothing to see here
Quote · 20 Feb 2014

Dedicated server - I even stopped using ssl for the time being to see if that was the error. No youtube videos will embed on my site, but they will embed on demo.boonex.com. No other accounts on server at all. Do I need RMS?

caredesign.net
Quote · 20 Feb 2014

 

Dedicated server - I even stopped using ssl for the time being to see if that was the error. No youtube videos will embed on my site, but they will embed on demo.boonex.com. No other accounts on server at all. Do I need RMS?

 RMS is not needed for YouTube embeds. I am assuming you have nothing in 'red' in the Host Tools? Researching something so it might be a few moments..

Nothing to see here
Quote · 20 Feb 2014

I created a qwuick module last night. Since we are not allowing video uploads of the normal fashion, and only using the embed feature, it wasn't too hard.

User types in search parameters for a video, searches through youtube and displays results. User clicks import of video he/she wants to embed and is taken to add form to fill in any missing parameters/fields. See Pics. I have not done language keys yet, so don't shoot me.

embeds home.png · 613.5K · 191 views
results of search.png · 691.1K · 179 views
embed view page.png · 591.9K · 159 views
video in popup.png · 606.7K · 206 views
caredesign.net
Quote · 20 Feb 2014

 Nothing 'Red" but I do have a warning cause I am using php 5.4.25 now on this new server.

 

Dedicated server - I even stopped using ssl for the time being to see if that was the error. No youtube videos will embed on my site, but they will embed on demo.boonex.com. No other accounts on server at all. Do I need RMS?

 RMS is not needed for YouTube embeds. I am assuming you have nothing in 'red' in the Host Tools? Researching something so it might be a few moments..

 

caredesign.net
Quote · 20 Feb 2014

Outside your module, if you go to the default Boonex videos page and choose embed from the uploaders, enter the YouTube URL, you get the error right?

Nothing to see here
Quote · 20 Feb 2014

I get no errors at all - just a continuous circle thingy - I forgot what it is called. I even let it run all night and woke up to it still circling.

caredesign.net
Quote · 20 Feb 2014

I PM'ed you login credentials for you to check it out.

caredesign.net
Quote · 20 Feb 2014

Ok.. this may be something else then. Do you happen to get the same spinning circle for RSS feeds or Forum Feeds on your site?

Nothing to see here
Quote · 20 Feb 2014

no I do not.

caredesign.net
Quote · 20 Feb 2014

Note: I am running 5.4.24 on my server so I doubt if it is anything to do with 5.4.25. 

I had a problem with videos that I tracked down to the php.ini setting of mysql.allow_persistent


I would check that in your php.ini setting.  When I set it to off my video issue went away.  It might have nothing to do with your current issues but it won't hurt checking it.  You will need to reload the php config depending on how it is handled on your sever.

Geeks, making the world a better place
Quote · 20 Feb 2014

Thanks GG - I will check that.

 

I apologize for the seemingly simple issue. I just moved from one server company to another and by default, not much was turned on for this server. Coupled with the fact that I have never used the embed feature before, I do not know if it is some code that I changed (I did uninstall, delete videos module folder, reupload fresh copy of videos module folder, installed) or if there is a setting in the server itself that I had to do. I have been customizing the php.ini and other server parameters based on what does not work when I get to it.

 

I know that this may not seem relevant, but one of the big things I did to my server was the database encryption. In which I had to move the mysql.sock file. Just curious (although logically it does not seem to be relevant), but just checking all things that I changed.

caredesign.net
Quote · 20 Feb 2014

If I was in your situation, I would install a fresh copy of dolphin in subdomain or subdirectory and try youtube embed there so I could rule out server side or dolphin side. 

Guynuked -- Dedicated server and Dolphin-friendly hosting with Zarconia.net
Quote · 20 Feb 2014

I am doing that now - thanks Guy

caredesign.net
Quote · 20 Feb 2014

Ok, Fresh install with only the videos module installed. Same issue with neverending circling. So, logically, this would mean that it is something with the server that is incorrect. So, I guess we are back to the popen.

caredesign.net
Quote · 20 Feb 2014

 

Ok, Fresh install with only the videos module installed. Same issue with neverending circling. So, logically, this would mean that it is something with the server that is incorrect. So, I guess we are back to the popen.

 Yes, I sent and sending you a new PM.

Nothing to see here
Quote · 20 Feb 2014

does cron have to be working, by chance?

caredesign.net
Quote · 20 Feb 2014

 

does cron have to be working, by chance?

Shouldn't reflect embeds, but you should have one setup so your site will send emails, process videos/music, etc.

Nothing to see here
Quote · 20 Feb 2014

works like a charm now thanks to those Zarconians. Now I am comfortable that things should be working like it should since they have graced my server with their presence.

caredesign.net
Quote · 21 Feb 2014

 

works like a charm now thanks to those Zarconians. Now I am comfortable that things should be working like it should since they have graced my server with their presence.

Please share so that we have a complete knowledge base in case we are faced with that issue or that others searching may know.

Geeks, making the world a better place
Quote · 21 Feb 2014

 

works like a charm now thanks to those Zarconians. Now I am comfortable that things should be working like it should since they have graced my server with their presence.

 HAHA. The magic hand of the SenorNathan..

Nothing to see here
Quote · 21 Feb 2014

These mod_security rules were breaking the script: 340162 and 340163.

added these lines to his custom mod_security configuration file (vi /usr/local/apache/conf/modsec2.user.conf):

- SecRuleRemoveById 340162
- SecRuleRemoveById 340163

 

PHP startup errors for suhosin and apc. I commented their extension lines out in /usr/local/lib/php.ini until that can be resolved. But since Suhosin really shouldn't be used on PHP 5.3+, it should probably be axed altogether. I don't think EasyApache even lists it anymore for PHP 5.3+ builds.

caredesign.net
Quote · 21 Feb 2014
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.