To add player place {$ttv} variable where you want to show player (e.g. sidebar)
Author: Creative (me)
Tested on MyBB: 1.8.32
English
Compatibility: 1.8.x
Plugin version: 1.0
Last updated: May 2023
Topic last updated: May 27, 2023
Requirements
PHP version 7.1 or higher
Installation & Configuration
Put the php file in inc/plugins
In ACP, install the plugin
In the ACP configuration, there will be a tab with settings called "Twitch Embed Settings"
Enter a twitch channel. If you want to add channels, more entries after each comma, e.g. (xxx1,xxx2,xxx3)
You can set the height and width of the player in the plugin configuration.
Demo:
![[Image: image.png.a9f65f4626533ad32b6907bb66e74dd6.png]](/img.php?u=https%3A%2F%2Fcamo.mybb.com%2Ff13074808001fe7465a59e1dad09a894d3b693cf%2F68747470733a2f2f7777772e70656365746f7769637a2e706c2f75706c6f6164732f6d6f6e74686c795f323032335f30352f696d6167652e706e672e61396636356634363236353333616433326236393037626236366537346464362e706e67&mode=fit&q=82)
Để thêm người chơi đặt biến {$ttv} nơi bạn muốn hiển thị trình phát (ví dụ: thanh bên)
Tác giả: Sáng tạo (tôi)
Đã thử nghiệm trên MyBB: 1.8.32
Tiếng Anh
Khả năng tương thích: 1.8.x
Phiên bản plugin: 1.0
Cập nhật lần cuối: Tháng Năm 2023
Chủ đề cập nhật lần cuối: May 27, 2023
Yêu cầu
PHP phiên bản 7.1 trở lên
Cài đặt & Cấu hình
Đặt tệp php vào inc/plugins
Trong ACP, hãy cài đặt plugin
Trong cấu hình ACP, sẽ có một tab với các cài đặt có tên là "Cài đặt nhúng Twitch"
Vào kênh twitch. Nếu bạn muốn thêm kênh, hãy thêm mục sau mỗi dấu phẩy, ví dụ: (xxx1,xxx2,xxx3)
Bạn có thể đặt chiều cao và chiều rộng của trình phát trong cấu hình plugin.
Demo: