diff --git a/app/models/embed/purl/resource_file.rb b/app/models/embed/purl/resource_file.rb
index 151503f23..2df68803f 100644
--- a/app/models/embed/purl/resource_file.rb
+++ b/app/models/embed/purl/resource_file.rb
@@ -48,7 +48,7 @@ def vtt
end
def vtt?
- mimetype == 'text/vtt' && title.end_with?('.vtt')
+ mimetype == 'text/vtt'
end
def pdf?
diff --git a/spec/fixtures/purl_fixtures.rb b/spec/fixtures/purl_fixtures.rb
index 5b9a4655f..59c8de8df 100644
--- a/spec/fixtures/purl_fixtures.rb
+++ b/spec/fixtures/purl_fixtures.rb
@@ -972,7 +972,7 @@ def video_purl_with_vtt
-
+
diff --git a/spec/models/embed/purl/resource_spec.rb b/spec/models/embed/purl/resource_spec.rb
index 462b0d5ff..5485f5834 100644
--- a/spec/models/embed/purl/resource_spec.rb
+++ b/spec/models/embed/purl/resource_spec.rb
@@ -58,7 +58,7 @@
before { stub_purl_response_with_fixture(video_purl_with_vtt) }
- it { is_expected.to eq 'abc_123_cap.vtt' }
+ it { is_expected.to eq 'abc_123_cap.webvtt' }
end
context 'when it does not have a vtt transcript' do