Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/wenderhost/cmc-video-player/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Implements Cloud Media Company's video player on your WordPress site.
Description
This plugin provides an admin screen, found under "Settings > CMC Player", for adding Cloud Media Company's player script. Once you've added the player, you may use the following shortcode to display the player:
[cmcplayer/] - displays the CMC Player saved in the "CMC Player Script" field below. Available attributes:
show_on_desktop(bool) - Show on desktop? Default TRUE.show_on_mobile(bool) - Show on mobile? Default TRUE.excludes(string) - Comma separated list of Post IDs and/or keywords for not showing the player. Available keywords: front_page, archive.player_id(mixed) - Include the player ID to specify a player other than the stored player in the settings. Default FALSE.qortex(bool) - Include the Qortex ad banner tag? Default FALSE.meta(bool) - Show meta information below the player? Default FALSE.
Example: [cmcplayer show_on_desktop="true" show_on_mobile="false"/]
Changelog
1.3.0
- Adding
metaattribute to allow display of meta information below the player. Only displays for logged in users with capability ofactivate_plugins.
1.2.2
- BUGFIX: Returning
$playerwhenplayer_idattribute is set.
1.2.1
- Updating documentation on Settings page.
1.2.0
- Adding
player_idandqortexattributes for showing different players based on theplayer_id.
1.1.1
- Correcting variables passed in the Plugin Update API.
1.1.0
- Adding an "excludes" attribute to the
[cmcplayer/]shortcode. It allows for a comma separated list of Post IDs and/or keywords for not showing the player. Available keywords: front_page, archive.
1.0.0
- Initial release.