Skip to content

Commit 1174d51

Browse files
fix: add logo option (#46)
1 parent 4b777a4 commit 1174d51

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

src/constant.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ module.exports = exports = {
4848
FILES_PLAYER_AUTORUN: 'autorun',
4949
FILES_PLAYER_CLOSEBUTTON: 'closebutton',
5050
FILES_PLAYER_HIDECONTROLS: 'hidecontrols',
51-
FILES_PLAYER_SHOWLOGO: 'showlogo',
51+
FILES_PLAYER_LOGO: 'logo',
5252
};
5353

5454
exports.FIELDS_TO_STRINGIFY = [

src/custom/cappasity-info-post.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ const {
33
FILES_PLAYER_AUTORUN,
44
FILES_PLAYER_CLOSEBUTTON,
55
FILES_PLAYER_HIDECONTROLS,
6+
FILES_PLAYER_LOGO,
67
} = require('../constant.js');
78

89
const defaultPlayerOpts = {
@@ -23,6 +24,11 @@ const defaultPlayerOpts = {
2324
description: 'Hide player controls',
2425
paid: true,
2526
},
27+
[FILES_PLAYER_LOGO]: {
28+
type: 'boolean',
29+
default: 1,
30+
description: 'Show logo',
31+
},
2632
};
2733

2834
const defaultWindowOptions = {

0 commit comments

Comments
 (0)