Skip to content

Commit

Permalink
Merge pull request #331 from 10up/fix/embed-styles-experiences
Browse files Browse the repository at this point in the history
Update name of embed type
  • Loading branch information
oscarssanchez authored Aug 3, 2023
2 parents 7e39944 + 9c6e4e3 commit ea69c77
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions assets/js/brightcove-admin.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions assets/js/src/views/media-details.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ var MediaDetailsView = BrightcoveView.extend({
$sizingField.show();
$sizingDiv.show();

if ($sizing === 'responsive' && $embedStyle === 'javascript') {
if ($sizing === 'responsive' && $embedStyle === 'in-page') {
$height.attr('readonly', true);
} else if ($sizing === 'fixed' && $embedStyle === 'javascript') {
} else if ($sizing === 'fixed' && $embedStyle === 'in-page') {
$height.removeAttr('readonly');
$width.removeAttr('readonly');
} else {
Expand Down

0 comments on commit ea69c77

Please sign in to comment.