Skip Navigation

[Resolved] Embedded video from Dailymotion does not display

This thread is resolved. Here is a description of the problem and solution.

Problem:
I am using Embedded Media field, added that into a View. When I use a dailymotion.com video link in this field, it does not show Video in Chrome browser.

Solution:
This was not an issue in Toolset, solution is given in this link on how to enable Cookies in browser and some additional info:
https://toolset.com/forums/topic/embedded-video-from-dailymotion-does-not-display/#post-579819

Relevant Documentation:
- https://github.com/GoogleDeveloperExperts/experts-app-backend/issues/32
- https://www.chromium.org/for-testers/bug-reporting-guidelines/uncaught-securityerror-failed-to-read-the-localstorage-property-from-window-access-is-denied-for-this-document

This support ticket is created 7 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 -
- 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

Tagged: 

This topic contains 14 replies, has 2 voices.

Last updated by Pat 7 years, 1 month ago.

Assisted by: Noman.

Author
Posts
#578989

Pat

Hello,

I'm trying to display videos from Dailymotion on my site.
So, I have created an embedded video field. If I place the Youtube shared link, everything is working fine but if I'm using Dailymotion shared link, then, only the link is displayed and not the video.

Any idea?
Regards
Pat

#578994

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi Pat,

Thank you for contacting Toolset support. I am not able to reproduce this issue at my end. Daily motion video is properly displaying by using Embedded Media field. Here is an example shortcode:

 [types field='embedded-video' width='500' height='300'][/types] 

1. Please provide the dailymotion video link you are trying to insert.

2. Provide back-end screenshot of View or Content template or Page where you have inserted Embedded Media field.

3. Also can you please share your Debug Information with us so we can see it? I have enabled debug info box for your next reply:
https://toolset.com/faq/provide-debug-information-faster-support/

4. Please also try to check it by deactivating all third-party plugins (except Toolset) and switching back to the Default Theme (e.g. Twenty Sixteen theme) to see for any possible conflicts with any of the plugins or themes?

Thank you

#579107

Pat

Hi Noman,

Here is thecode I'm using for the Views that display the videos :
<h3 style="height:2em;">[wpv-post-title]</h3></br>
[types field="vi-date-video" id=""][/types]
[types field='vi-lien-video' width='400' height='300'][/types]
[types field="vi-description-video" id=""][/types]

Here is the url of the Dailymotion that does not work (only display the link) : hidden link
I have also tested with : hidden link and with hidden link
None of them works.

RegardsNow, with Youtube url : hidden link everything is fine !

II have also tried todesactivate other plugins than Toolset and the issue is still there !
The theme I'm using is Toolset starter up to date.

Last, you can find the issue on this page : hidden link

Regards
Pat

#579118

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Embedded media.png

- Please make sure you are using Embedded Media field type -- see attached screenshot.

- Please provide temporary access (WP-Admin and FTP Login info) to your staging site.

Your next answer will be private which means only you and I have access to it.

=== Please backup your database and website ===

✙ I would additionally need your permission to de-activate and re-activate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important.

✙ Please add the Link to the [View] Edit Screen and CPT name where you have created this Embedded media field.

Thank you

#579135

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

I have added the full links of all videos and now videos are playing properly, you can check here:
hidden link

Thank you

#579148

Pat

Hi Noman,

Seem that the issue is linked to the browser. With Edge, that's OK but with Chrome, I'm still getting the same issue.

Let me know
Pat

#579279

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

- Please clear all sort of caches in your site plugin cache / CDN cache (if any) / browser cache, and check the site again.

- I need to know more details on your Browser and OS. Can you please go to this site and share the details link with us (share link is displayed at the top section on this site):
hidden link

Thank you

#579309

Pat

Hi NOman,

I had already clear all cache in Chrome without any change.
Here is the shared link :
hidden link

Regards
Pat

#579311

Pat
toolset.png

Just for info, a sceenshot of the page showing the difference between youtube (right) and dailymotion (left)
Pat

#579369

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

share url.png

The share link you have provided is not the correct one. Please see attached screenshot, that's the actual sharing url that we need from your end. Looking forward to it.

Thank you

#579373

Pat

Sorry for that
Here it is : hidden link

Pat

#579561

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Win10 Chrome.png
Win10 full page.jpg

Thanks for the link. I have matched the settings, it looks correct and I have tested on a Windows 10 pc with same Chrome version as you have, and it appears to be working fine as well -- please see attached screenshots for Windows 10, Chrome.

Also I asked a team member to check it on MAC = Chrome and Safari both and videos show up fine there as well.

So I am really wondering if its on in your system or some browser addon or something blocking it somehow. Can you please check it on another computer, a colleague or friend possibly?

We leverage WordPress api for handling embedded videos so I don’t see any reason why it won’t work, other than the things mentioned above. Thanks

#579592

Pat

Hi Noman,

I have the same issue on another PC but only on Chrome.
In fact, looking at the Chrome console, I'm getting this type of errors :Error: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.
at r (dmp.24e81cafb97419ac6066.js:1)
at e (dmp.24e81cafb97419ac6066.js:1)
at Object.<anonymous> (dmp.24e81cafb97419ac6066.js:1)
at Object.t.__esModule (dmp.24e81cafb97419ac6066.js:1)
at t (dmpmanifest.4d572c717a47741e3967.js:1)
at Object.<anonymous> (dmp.24e81cafb97419ac6066.js:1)
at Object.<anonymous> (dmp.24e81cafb97419ac6066.js:1)
at t (dmpmanifest.4d572c717a47741e3967.js:1)
at Object.<anonymous> (dmp.24e81cafb97419ac6066.js:1)
at Object.<anonymous> (dmp.24e81cafb97419ac6066.js:1)

Any idea?
Regards
Pat

#579819

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

enable cookies.png

Hello,

For this error in console. Upon searching I found that these arise when Cookies are blocked in browser settings (not recommended). Are the cookies blocked in your browser? Can you please allow chrome browser cookies from chrome settings. Related threads with this same error:

- hidden link
- hidden link

1. Please type following address in chrome URL and press Enter:
hidden link

2. Then enable Cookies from Cookies on/off button (see screenshot). By default cookies are usually enabled in Chrome.

I hope it will resolve issue. Thank you.

#579827

Pat

Hi Noman,

You're right, some sites (including Dailymotion) were not enable for cookies
Everything is fine now.

Sorry for this ticket that was not related to Toolset and thanks again.
Pat