Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
libai
/
footseen-large-website
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
b06e8f17
authored
Jun 29, 2022
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
fb0f0082
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
yazhaiTest/lib/login.js
yazhaiTest/room/liveRoom.html
yazhaiTest/lib/login.js
View file @
b06e8f17
...
...
@@ -1228,7 +1228,7 @@ window.fbAsyncInit = function () {
};
function
testAPI
()
{
// Testing Graph API after login. See statusChangeCallback() for when this call is made.
console
.
log
(
'Welcome! Fetching your information.... '
);
//
console.log('Welcome! Fetching your information.... ');
FB
.
api
(
'/me'
,
function
(
response
)
{
// console.log('Successful login for: ' + response.name);
...
...
yazhaiTest/room/liveRoom.html
View file @
b06e8f17
...
...
@@ -612,12 +612,14 @@ $(function () {
// if(data.code!=1){
// window.location.href='../pc.html'
// }
$
(
"title"
).
text
(
data
.
room
.
roomName
+
'的直播間'
)
console
.
log
(
'进入直播间'
,
data
)
if
(
data
.
code
==-
20060
){
alert
(
"您已被移出直播,暫時不能進入"
)
window
.
location
.
href
=
"../pc.html"
return
;
}
var
roomList
=
data
.
room
;
flowUrl
=
data
.
pullFlowUrl
$
(
".mc-material-face,.gurad-layer-face"
).
attr
(
"src"
,
"https://zhibocdn.yabolive.net/comm"
+
roomList
.
face
+
"?x-oss-process=image/resize,w_40"
)
...
...
@@ -2153,6 +2155,7 @@ $(function () {
}
}
},
500
);
var
systemMsg
=
true
;
function
WebSocketGo
()
{
if
(
"WebSocket"
in
window
)
{
// 打开一个 web socket
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment