Description + Shortcode + Custom Settings + Functions + Filters + Support
Description
The appear.in WordPress plugin harnesses the power of appear.in allowing site owners to embed secure peer-to-peer video chat rooms on a self-hosted WordPress site via the [[appear_in]] shortcode.
Install the plugin, configure your room options on the Settings > Media admin page, and include the shortcode on any page(s) of your site.
If a public room name has not been explicitly defined in settings or shortcode, then the default public room expires daily.
Learn more about appear.in – a product of Telenor Digital AS built with WebRTC technologies.
Shortcode
[[appear_in]] (include appear.in room)
Attributes
[[appear_in room="custom-public-room-name"]] (set public room name) [[appear_in type="public,private,post"]] [[appear_in public_room_button="TEXT" private_room_button="TEXT" post_room_button="TEXT"]] [[appear_in position="bottom|inline"]] [[appear_in height="int"]]
Set a custom public room name, specify which room buttons are shown on a page, change the button text, determine where rooms will be displayed, and set height of inline rooms.
Examples
[[appear_in type=”post,private” post_room_button=”Discuss appear.in WP”]] displays the following room selection …
[appear_in type=”post,private” post_room_button=”Discuss appear.in WP”]
Custom Settings
Found at Settings > Media page of the admin menu.
Room Button Color | |
---|---|
Public Room Name | Define a public room name for default use in shortcode |
If a public room name has not been explicitly defined in settings or shortcode, then the default public room expires daily.
The ‘post’ room type will generate a public room with name of the current post.
Functions
Use to include rooms in theme templates
aiwp_include( $args );
Default arguments:
$args = array( 'room' => '', 'type' => 'public', 'public_room_button' => 'Public Room', 'private_room_button' => 'Private Room', 'post_room_button' => 'Post Room', 'position' => 'bottom', );
Filters
aiwp_unsupported_browser_message
aiwp_room_button
Constants
AIWP_SHOW_TOGGLE
AIWP_SHOW_INVITE
Plugin Support
Please, direct support question to the official WordPress Support Forum.