diff --git a/README.md b/README.md index eef18dc..a0ec592 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ Video_XH facilitates presenting videos on a CMSimple_XH site. It uses the HTML5 video element wherever possible, and provides a a download link as fallback otherwise. The supported video formats depend on the browser. + For each video additional schema.org compliant markup will be generated, so search engines can index and show the videos in search results. diff --git a/build.xml b/build.xml index bab533c..9cb54ad 100644 --- a/build.xml +++ b/build.xml @@ -75,13 +75,13 @@ - + - + @@ -95,7 +95,7 @@ - + diff --git a/help/help.htm b/help/help.htm index 01ca3f5..b8bffec 100644 --- a/help/help.htm +++ b/help/help.htm @@ -30,7 +30,8 @@

Video_XH

-

Video_XH facilitates presenting videos on a CMSimple_XH site. It uses the HTML5 video element wherever possible, and provides a a download link as fallback otherwise. The supported video formats depend on the browser. For each video additional schema.org compliant markup will be generated, so search engines can index and show the videos in search results.

+

Video_XH facilitates presenting videos on a CMSimple_XH site. It uses the HTML5 video element wherever possible, and provides a a download link as fallback otherwise. The supported video formats depend on the browser.

+

For each video additional schema.org compliant markup will be generated, so search engines can index and show the videos in search results.

  • Requirements
  • Download
  • diff --git a/index.php b/index.php index f2ee243..77e2cfa 100644 --- a/index.php +++ b/index.php @@ -21,7 +21,7 @@ use Video\Dic; -const VIDEO_VERSION = '2.0-dev'; +const VIDEO_VERSION = "2.0"; /** @SuppressWarnings(PHPMD.UnusedFormalParameter) */ function video(string $name, string $options = ''): string diff --git a/teplad.xml b/teplad.xml index 619a643..f87d3e4 100644 --- a/teplad.xml +++ b/teplad.xml @@ -45,11 +45,11 @@ Video_XH - 2021.01.23 + 2023.02.11 - 1.1 + 2.0 - 2016.12.23 + 2023.02.11 Christoph M. Becker @@ -62,19 +62,19 @@ - https://github.com/cmb69/video_xh/releases/1.1 + https://github.com/cmb69/video_xh/releases/2.0 - https://3-magi.net + https://3-magi.net/ - ≥ 1.5.4 + ≥ 1.7.0 - ≥ 5.0.0 + ≥ 7.1.0 GPLv3 @@ -82,17 +82,23 @@ Video_XH facilitates presenting videos on a CMSimple_XH site. It uses the - HTML5 video element wherever possible, and provides a fallback to Flash video. - The supported video formats depend on the browser resp. the Flash player. For - the best user experience, JavaScript should be enabled in the browser of the visitor. + HTML5 video element wherever possible, and provides a a download link as + fallback otherwise. The supported video formats depend on the browser. + + For each video additional schema.org + compliant markup will be generated, so search engines can index and show the + videos in search results. Video_XH ermöglicht die Präsentation von Videos auf einer - CMSimple_XH-Website. Es verwendet wo immer möglich das HTML5 Video-Element, und - nutzt andernfalls den Flash-Player. Die unterstützten Video-Formate hängen vom - Browser bzw. dem Flash-Player ab. Für das beste Nutzungserlebnis sollte - JavaScript im Browser des Besuchers aktiviert sein. + CMSimple_XH-Website. Es verwendet wo immer möglich das HTML5 Video-Element, + und bietet andernfalls einen Downloadlink als Fallback. Die unterstützten + Video-Formate hängen vom Browser ab. + + Für jedes Video wird zusätzliches [schema.org](https://schema.org/) + konformes Markup generiert, so dass Suchmaschinen die Videos indexieren + und in Suchergebnissen anzeigen können. diff --git a/tests/approvals/ShowInfoTest.testRendersPluginInfo.approved.html b/tests/approvals/ShowInfoTest.testRendersPluginInfo.approved.html index a2b8f90..590ac92 100644 --- a/tests/approvals/ShowInfoTest.testRendersPluginInfo.approved.html +++ b/tests/approvals/ShowInfoTest.testRendersPluginInfo.approved.html @@ -1,5 +1,5 @@ -

    Video 2.0-dev

    +

    Video 2.0

    System check

    Checking that PHP version ≥ 7.1.0 … okay

    diff --git a/tests/bootstrap.php b/tests/bootstrap.php index d60857d..eccae8f 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -15,4 +15,4 @@ require_once './classes/ShowVideo.php'; const CMSIMPLE_URL = "http://example.com/index.php"; -const VIDEO_VERSION = "2.0-dev"; +const VIDEO_VERSION = "2.0"; diff --git a/version.nfo b/version.nfo index d829fb1..ff170a2 100644 --- a/version.nfo +++ b/version.nfo @@ -1 +1 @@ -Video_XH,1.1,1.1,,,https://github.com/cmb69/video_xh/releases/1.1,https://raw.githubusercontent.com/cmb69/video_xh/master/version.nfo +Video_XH,2.0,2.0,,,https://github.com/cmb69/video_xh/releases/2.0,https://raw.githubusercontent.com/cmb69/video_xh/master/version.nfo