Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

more docs fixes ( corrected github path )

  • Loading branch information...
commit cded147c67502a8a6764d79d83686337e595afcf 1 parent 11e33e1
Michael Dale mdale authored
2  docs/featureList.php
View
@@ -100,7 +100,7 @@
array(
'title' => 'Custom Skin',
'hash' => 'CustomSkin',
- 'path' => 'KalturaSupport/tests/CustomSkinAudioPlayer.html'
+ 'path' => 'KalturaSupport/tests/CustomSkin.html'
),
array(
'title' => 'Custom Audio Player Skin',
6 docs/features.php
View
@@ -1,7 +1,11 @@
<?php
$featureSet = include( 'featureList.php' );
$fullFeaturePath = htmlspecialchars( $_REQUEST['path'] );
-list( $featureKey, $featureSubKey ) = explode('/', $fullFeaturePath);
+$featureParts = explode('/', $fullFeaturePath);
+$featureKey = $featureParts[0];
+if( isset( $featureParts[1] ) ){
+ $featureSubKey = $featureParts[1] ;
+}
if( ! isset( $featureSet[$featureKey ] ) ){
echo "feature set path ". $featureKey . " not found ";
5 docs/index.php
View
@@ -176,6 +176,11 @@ function kDocGetBasePath(){
var basePath = kDocGetBasePath();
// Check for main menu hash changes:
switch( key ){
+ case 'main':
+ $.get( basePath + 'main.php', function( data ){
+ $( '#contentHolder' ).html( data );
+ });
+ break;
case 'readme':
$.get( basePath + '../README.markdown', function( data ){
var converter = new Showdown.converter();
4 docs/main.php
View
@@ -19,11 +19,11 @@
<p id="github-commits"></p>
<p><a class="btn" href="http://github.com/kaltura/mwEmbed/">Commits on github &raquo;</a></p>
- <script src="js/github.commits.widget.js"></script>
+ <script src="<?php echo $pathPrefix; ?>js/github.commits.widget.js"></script>
<script>
$(function() {
$('#github-commits').githubInfoWidget(
- { user: 'kaltura', repo: 'mwEmbed', branch: 'develop' });
+ { user: 'kaltura', repo: 'mwEmbed', branch: 'master' });
});
</script>
4 modules/KalturaSupport/tests/ThumbnailEmbedManyPlayers.qunit.html
View
@@ -1,13 +1,13 @@
<!DOCTYPE HTML>
<html>
<head>
-<title>Thumbnail Player test</title>
+<title>Thumbnail embed</title>
<script type="text/javascript" src="../../../tests/qunit/qunit-bootstrap.js"></script>
<script type="text/javascript" src="../../../mwEmbedLoader.php"></script>
<script type="text/javascript" src="../../../docs/js/doc-bootstrap.js"></script>
</head>
<body>
-<h2> Thumbnail Player test </h2>
+<h2> Thumbnail embed </h2>
The thumbnail embed method takes the same arguments as "kWidget.embed".
Thumbnail embed will pass all the configuration to the kWidget.embed when the user "click" on the play button.
<pre class="prettyprint linenums">
Please sign in to comment.
Something went wrong with that request. Please try again.