LSP minor changes to preview page
This commit is contained in:
parent
b0aa5bd310
commit
09c6ac5aa9
1 changed files with 20 additions and 7 deletions
27
lsp/main.js
27
lsp/main.js
|
@ -1327,17 +1327,17 @@ function buildstreamembed(streamName,embedbase) {
|
||||||
)
|
)
|
||||||
).append(
|
).append(
|
||||||
$('<span>').attr('id','listprotocols').text('Loading..')
|
$('<span>').attr('id','listprotocols').text('Loading..')
|
||||||
|
).append(
|
||||||
|
$('<div>').addClass('input_container').append(
|
||||||
|
$('<label>').text('Stream embed url:').append(
|
||||||
|
$('<input>').attr('type','text').attr('readonly','readonly').attr('id','streamurl').text('Loading..')
|
||||||
|
)
|
||||||
|
)
|
||||||
);
|
);
|
||||||
$embedcont.append(
|
$embedcont.append(
|
||||||
$('<p>').text('Preview:')
|
$('<p>').text('Preview:')
|
||||||
).append(
|
).append(
|
||||||
$('<div>').attr('id','preview-container').attr('data-forcesupportcheck',1)
|
$('<div>').attr('id','preview-container').attr('data-forcesupportcheck',1)
|
||||||
).append(
|
|
||||||
$('<div>').addClass('input_container').append(
|
|
||||||
$('<label>').text('Stream embed url:').append(
|
|
||||||
$('<input>').attr('type','text').attr('readonly','readonly').attr('id','streamurl')
|
|
||||||
)
|
|
||||||
)
|
|
||||||
);
|
);
|
||||||
|
|
||||||
// jQuery doesn't work -> use DOM magic
|
// jQuery doesn't work -> use DOM magic
|
||||||
|
@ -1379,7 +1379,7 @@ function buildstreamembed(streamName,embedbase) {
|
||||||
).append(
|
).append(
|
||||||
$('<th>').text('Simul. tracks')
|
$('<th>').text('Simul. tracks')
|
||||||
).append(
|
).append(
|
||||||
$('<th>').text('Browser support')
|
$('<th>').html('Your browser<br>support')
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
for (var i in priority) {
|
for (var i in priority) {
|
||||||
|
@ -1390,6 +1390,19 @@ function buildstreamembed(streamName,embedbase) {
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
humantype += ' v'+type[1];
|
humantype += ' v'+type[1];
|
||||||
|
if (type[0] == 'flash') {
|
||||||
|
switch (type[1]) {
|
||||||
|
case '7':
|
||||||
|
humantype = 'Progressive ('+humantype.charAt(0).toUpperCase()+humantype.slice(1)+')';
|
||||||
|
break;
|
||||||
|
case '10':
|
||||||
|
humantype = 'RTMP ('+humantype.charAt(0).toUpperCase()+humantype.slice(1)+')';
|
||||||
|
break;
|
||||||
|
case '11':
|
||||||
|
humantype = 'HDS ('+humantype.charAt(0).toUpperCase()+humantype.slice(1)+')';
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
switch (type[2]) {
|
switch (type[2]) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue