File tree Expand file tree Collapse file tree 4 files changed +10
-4
lines changed
components/ProductImages/components/Video Expand file tree Collapse file tree 4 files changed +10
-4
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff line change @@ -25,11 +25,11 @@ class Youtube extends Component {
2525
2626 static extractVideoID = url => {
2727 const regExp =
28- / ^ .* ( ( y o u t u .b e \/ ) | ( v \/ ) | ( \/ u \/ \w \/ ) | ( e m b e d \/ ) | ( w a t c h \? ) ) \? ? v ? = ? ( [ ^ # & ? ] * ) .* /
28+ / ^ .* ( ( y o u t u .b e \/ ) | ( v \/ ) | ( \/ u \/ \w \/ ) | ( e m b e d \/ ) | ( w a t c h \? ) | ( s h o r t s \/ ) ) \? ? 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 }
Original file line number Diff line number Diff line change 8989 " ./setupTests.js"
9090 ]
9191 },
92- "version" : " 3.176.3 "
92+ "version" : " 3.176.4 "
9393}
You can’t perform that action at this time.
0 commit comments