A plugin for ResourceSpace (a Digital Asset management system), allowing for the creation of local "resources" from a Microsoft Stream URL. Based on the Vimeo -> ResourceSpace (vm2rs) plugin.
| Name | Description | Link |
|---|---|---|
| Writing your own plugins | Knowledgebase article to help with developing plugins | View on ResourceSpace |
| Microsoft oEmbed | Add Microsoft Stream videos to other apps by using oEmbed | View on Microsoft docs |
| Microsoft Graph thumbnails | Get video thumbnails from SharePoint using Microsoft Graph | View on Handsontek |
Due to Microsoft office/365 security & logins, user must be logged in & authenticated.
The Microsoft Stream to ResourceSpace plugin hooks into the resource View page to embed a Stream video. On the options page for this plugin you can enter the ID of a metadata field that is used to store the URL of the Stream video.
In your web browser open your ResourceSpace site, navigate to: System > Metadata fields: Select resource type 'Video', Create metadata field called ... 'StreamURL' / Text box (single line). Take note of the ID.
To install, cd into the plugins directory, clone, then install.
cd plugins
sudo git clone https://github.com/404ryannotfound/ms2rs.git
npm install
Alternatively:
Download the zip file https://github.com/404ryannotfound/ms2rs/archive/refs/heads/main.zip. Unzip the contents, rename the 'ms2rs-main' folder to 'ms2rs', re-zip the folder, and change from '.zip' to '.rsp'
In your web browser open your ResourceSpace site, navigate to: System > Plugins > Bottom of the page: Select the ms2rs.rsp
The Microsoft Stream to ResourceSpace plugin hooks into the resource View page to embed a Stream video. On the options page for this plugin you can enter the ID of a metadata field that is used to store the URL of the Stream video. Metadata field creation
In your web browser open your ResourceSpace site, navigate to: System > Plugins > Microsoft Stream to ResourceSpace > Options: Add your Metadata field ID, Save & exit
To create a new resource, select the Drop menu (top right) > Resources > Create new resource record
Select Video, add metadata as required. Under Video Properties: add the url to StreamURL i.e. https://web.microsoftstream.com/video/12345678-5ba4-5ac3-b870-ce8b0df12345
If using the Embed code, be sure to exclude '?autoplay=false&showinfo=true' from the url.
Log any issues to the Issues page.
My coding skills ¯_(ツ)_/¯ upload_plupload.php & view.php both need review of the regex checking.
Contributors are more than welcome! 🤗 Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
- 404ryannotfound - Initial work - 404ryannotfound
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE file for details
- ResourceSpace For an amazing DAM, and allowing for Open Source contributions and usage.
- VM2RS (Vimeo embed) For the initial plugin code from which this is adapted.
