Apple Intelligence is now available on iPhone, iPad, and Mac!

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Some Videos are not able to play in safari but are playing perfectly well in chrome (PW)

Some videos of sites like physicwallah are loading and loading but are not playing in Safari; if I open them in Chrome, they work seamlessly. I like Safari and don't wanna switch over to Chrome. Does anyone know why this is happening especially with the khazana feature on physicwallah?

Mac mini, macOS 13.4

Posted on May 29, 2023 1:59 AM

Reply
Question marked as Top-ranking reply

Posted on Jan 16, 2024 10:19 PM

Yes. Safari is unable to play videos or audio that uses an object url scheme, whereas other browsers (Chromium-based or Mozilla-based) are able to play using those sources. In the code behind some web sites, the video or audio source is set using

object.src = window.URL.createObjectURL( file )

rather than a source file or dataUrl. Safari no longer seems capable of playing these sources. This might be a bug, or have been intentionally set by Apple in response to a percieved security flaw. Clearing your caches will do nothing, it will be up to the web site owners to find a workaround or wait for a fix.

2 replies
Question marked as Top-ranking reply

Jan 16, 2024 10:19 PM in response to tapasprasadchaurasia

Yes. Safari is unable to play videos or audio that uses an object url scheme, whereas other browsers (Chromium-based or Mozilla-based) are able to play using those sources. In the code behind some web sites, the video or audio source is set using

object.src = window.URL.createObjectURL( file )

rather than a source file or dataUrl. Safari no longer seems capable of playing these sources. This might be a bug, or have been intentionally set by Apple in response to a percieved security flaw. Clearing your caches will do nothing, it will be up to the web site owners to find a workaround or wait for a fix.

May 30, 2023 11:31 AM in response to tapasprasadchaurasia

Greetings tapasprasadchaurasia,


If Safari isn't loading websites as expected, these steps may help:


"Test with a private window 

A website can store cookies, caches, and other data on your Mac, and issues with that data can affect your use of the website. To prevent the website from using that data, view it in a private window: From the menu bar in Safari, choose File > New Private Window, or press Shift-Command-N.

If that works, use the following steps to remove the website's data, including its caches and cookies. The website can then create new data as needed. If it's a website that you sign in to, make sure that you know your sign-in information before continuing.

  1. Choose Safari > Settings (or Preferences), then click Privacy.
  2. Click Manage Website Data.
  3. Select the affected website from the list shown.
  4. Click Remove.
  5. Click Done.
  6. Open the website again in a non-private browser window." If Safari doesn't open a page or work as expected on your Mac


Be sure to click the link for additional troubleshooting steps.


We hope this helps!


Sincerely.


Some Videos are not able to play in safari but are playing perfectly well in chrome (PW)

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.