Closed Bug 1904662 Opened 1 year ago Closed 4 months ago

www.podomatic.com - Firefox is not supported for playing podcasts

Categories

(Web Compatibility :: Site Reports, defect, P2)

Tracking

(Webcompat Score:6, Webcompat Priority:P2)

RESOLVED FIXED
Webcompat Score 6
Webcompat Priority P2

People

(Reporter: rbucata, Unassigned)

References

(Depends on 1 open bug, )

Details

(Keywords: webcompat:contact-complete, webcompat:site-report)

User Story

platform:windows
impact:blocked
configuration:general
affects:all
branch:release
user-impact-score:350
diagnosis-team:webcompat
outreach-assignee:jrmuizel
outreach-contact-date:2025-02-11

Attachments

(1 file)

Environment:
Operating system: Windows 10
Firefox version: Firefox 127/Firefox 129.0a1

Steps to reproduce:

  1. Navigate to: https://www.podomatic.com/podcasts/chocom/episodes/2024-06-07T05_00_00-07_00
  2. Try to play a podcast and observe

Expected Behavior:
Podcasts are played

Actual Behavior:
Browser unsupported

Notes:

  • Reproduces regardless of the status of ETP
  • Reproduces in Firefox Nightly, Firefox Release
  • Does not reproduce in Chrome

Created from https://github.com/webcompat/web-bugs/issues/138409

Severity: -- → S2
User Story: (updated)
Priority: -- → P3

Raul, I can't reproduce. Can you still?

Status: NEW → RESOLVED
Closed: 6 months ago
Flags: needinfo?(rbucata)
Resolution: --- → WORKSFORME

This is still an issue for me

Flags: needinfo?(rbucata)
Attached image Screenshot_4.png

This is still an issue for me

Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---

I can reproduce on Windows but not Mac

User Story: (updated)
Webcompat Priority: --- → P2
Webcompat Score: --- → 6
Priority: P3 → P2
User Story: (updated)

The site contains a function canPlayMediaType() to determine if the media can be played in the current browser.
That function first looks at the return value of document.createElement('audio').canPlayType("audio/mp4"), which is maybe in Firefox and in this case makes a decision based on Browser and OS, for Firefox on Windows it returns false.
With the Chrome Mask extension, I can play the podcast without problems, so the logic in canPlayMediaType() seems outdated and should be updated. We can also ship an intervention.

Here's the full function:

      canPlayMediaType: function (t) {
        if (!this.isSupported()) return !1;
        var i = e(t),
        n = this.mediaTypeForUrl(t),
        s = document.createElement('audio').canPlayType(n).replace('no', '');
        return 'probably' === s ||
        !!s &&
        (
          r.isExplorer() ? 'm4a' === i ? r.explorerVersion() >= 11 : r.explorerVersion() >= 10 : 'm4a' !== i ||
          !r.isFirefox() ||
          !r.isWindows()
        )
      }

I wonder if it would be worthwhile to just override the value that document.createElement('audio').canPlayType("audio/mp4") returns on Windows to probably instead of maybe? Jeff, Holger, what do you think? That would be a simple intervention which may be better than switching to their Chrome-specific page fully with a UA override.

Yeah, that might be better.

If we can override that value - sure, that would make the intervention much less intrusive.

Podomatic sent me a note saying that they've fixed this. I confirmed it locally.

Status: REOPENED → RESOLVED
Closed: 6 months ago4 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: