Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yookoala/discuzcode-video
A small discuz addon to display video inline
https://github.com/yookoala/discuzcode-video
Last synced: 5 days ago
JSON representation
A small discuz addon to display video inline
- Host: GitHub
- URL: https://github.com/yookoala/discuzcode-video
- Owner: yookoala
- Created: 2014-07-11T04:11:13.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-06-30T06:57:36.000Z (over 9 years ago)
- Last Synced: 2024-10-23T22:52:01.865Z (about 2 months ago)
- Language: PHP
- Size: 344 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Discuzcode Video
================
A simplified way to support video sharing under BBCode environments
I did this long time ago. I've just dig it up and dust it out.Some video URL parsing function may still be useful.
Installation
============1. login to your Discuz! installation FTP/SFTP
2. goes to **your Discuz! dir**`/include`
3. upload this folder to the **your Discuz! dir**`/include` as
**your Discuz! dir**`/include/discuzcode-video`4. open `discuzcode.func.php`
5. find a function named 'discuzcode'
6. inside the function, find a line that start with: 'if(!$bbcodeoff && $allowbbcode) {'
7. before the line you found in step 5, add this line
```php
require(__DIR__.'/discuzcode-video/common.inc.php');
```8. save and exit
9. done. test it.