Title: Simple Silverstream TV Shortcodes
Author: Mike Manger
Published: <strong>2014 年 9 月 17 日</strong>
Last modified: 2016 年 9 月 16 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/simple-silverstream-tv-shortcodes.svg)

# Simple Silverstream TV Shortcodes

 作者：[Mike Manger](https://profiles.wordpress.org/mikemanger/)

[下载](https://downloads.wordpress.org/plugin/simple-silverstream-tv-shortcodes.zip)

 * [详情](https://cn.wordpress.org/plugins/simple-silverstream-tv-shortcodes/#description)
 * [评价](https://cn.wordpress.org/plugins/simple-silverstream-tv-shortcodes/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/simple-silverstream-tv-shortcodes/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/simple-silverstream-tv-shortcodes/#developers)

 [支持](https://wordpress.org/support/plugin/simple-silverstream-tv-shortcodes/)

## 描述

A simple unofficial plugin to embed [Silverstream TV](http://www.silverstream.tv/)
videos.

Allows you to use the `[silverstream]` shortcode in your posts. This is useful
 
with WordPress multisite installs that prevent iframe and script tags.

#### Shortcode Usage

Example:
 [silverstream video_key=”12345″ player_key=”abcdef”]

To load the bespoke player at just enter the URL to the right of the ‘silverstream.
tv/’

So http://silverstream.tv/istream_rts becomes:
 [silverstream bespoke_player=”istream_rts”
width=”580px”]

Attributes:

 * `video_key` the iframe ID the video that you want to embed (optional)
 * `player_key` the Silverstream player key (required)
 * `bespoke_player` path to the video on Silverstream’s server. Used to load client
   branded videos (optional)
 * `width` the width of the iframe (optional, default is 853px)
 * `height` the height of the iframe (optional, default is 480px)

The `width` and `height` attributes should include the metric (e.g. metric, e.g.
px, %, em)

## 安装

 1. Upload `simple-silverstream-tv-shortcodes` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## 常见问题

  Where do I find my video and player keys?

The video and player keys can be found in the embed code provided by the Silverstream
dashboard.

    ```
    <iframe id="sstv_[video_key]" class="sstv_embed" src="//video.silverstream.tv/player/[player_key]" style="border:none;overflow:hidden;width:853px;max-width:100%;height:480px;" frameborder="0" seamless allowfullscreen webkitAllowFullScreen></iframe>
    <script src="//video.silverstream.tv/themes/default/js/responsive.js.php?uid=sstv_[video_key]&height=480&aspect_ratio=1.7771"></script>
    ```

  I have found a bug

Please raise a ticket on the [issue tracker](https://bitbucket.org/lighthouseuk/simple-silverstream-tv-shortcodes/issues).
Pull requests also accepted!

## 评价

此插件暂无评价。

## 贡献者及开发者

「Simple Silverstream TV Shortcodes」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Mike Manger ](https://profiles.wordpress.org/mikemanger/)

[帮助将「Simple Silverstream TV Shortcodes」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/simple-silverstream-tv-shortcodes)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/simple-silverstream-tv-shortcodes/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/simple-silverstream-tv-shortcodes/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/simple-silverstream-tv-shortcodes/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/simple-silverstream-tv-shortcodes/)。

## 更新日志

#### 1.4

 * Fix couple of issues with iframe ID
 * Fix resolution being set to 480

#### 1.3

 * Force load Silverstream videos over HTTPS.
 * Make the video_key attribute optional as not required.

#### 1.2

 * Allow loading of bespoke iStream Sliverstream videos using the `bespoke_player`
   attribute.
 * Escape iframe and script URLs

#### 1.1

 * First public release

## 额外信息

 *  版本 **1.4**
 *  最后更新：**10 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 2.5.0 或更高版本 **
 *  已测试的最高版本为 **4.6.30**
 *  语言
 * [English (US)](https://wordpress.org/plugins/simple-silverstream-tv-shortcodes/)
 * 标签
 * [shortcode](https://cn.wordpress.org/plugins/tags/shortcode/)[silverstream tv](https://cn.wordpress.org/plugins/tags/silverstream-tv/)
   [video](https://cn.wordpress.org/plugins/tags/video/)
 *  [高级视图](https://cn.wordpress.org/plugins/simple-silverstream-tv-shortcodes/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/simple-silverstream-tv-shortcodes/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/simple-silverstream-tv-shortcodes/reviews/)

## 贡献者

 *   [ Mike Manger ](https://profiles.wordpress.org/mikemanger/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/simple-silverstream-tv-shortcodes/)