Skip to content

Commit 60dd4ff

Browse files
author
Adriana Evangelista
committed
Merge branch 'master' into fix/search-input-accessibility
2 parents 5d307e3 + 495dfe0 commit 60dd4ff

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1111

1212
- Added aria-label to search-bar input
1313

14+
## [3.176.4] - 2025-03-11
15+
16+
### Added
17+
18+
- Youtube shorts as a valid format
19+
-
1420
## [3.176.3] - 2025-02-28
1521

1622
### Added

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"vendor": "vtex",
33
"name": "store-components",
4-
"version": "3.176.3",
4+
"version": "3.176.4",
55
"title": "VTEX Store Components",
66
"defaultLocale": "pt-BR",
77
"description": "The VTEX store components for that render apps can use",

react/components/ProductImages/components/Video/Youtube.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ class Youtube extends Component {
2525

2626
static extractVideoID = url => {
2727
const regExp =
28-
/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#&?]*).*/
28+
/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?)|(shorts\/))\??v?=?([^#&?]*).*/
2929

3030
const match = url.match(regExp)
3131

32-
if (match && match[7].length === 11) return match[7]
32+
if (match && match[8].length === 11) return match[8]
3333

3434
return null
3535
}

react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,5 +89,5 @@
8989
"./setupTests.js"
9090
]
9191
},
92-
"version": "3.176.3"
92+
"version": "3.176.4"
9393
}

0 commit comments

Comments
 (0)