# Blank Screen Appearing when integrating with core php

**URL:** <https://devforum.zoom.us/t/blank-screen-appearing-when-integrating-with-core-php/21475>\
**Category:** Web\
**Created:** [June 16, 2020, 11:14am UTC](https://devforum.zoom.us/t/blank-screen-appearing-when-integrating-with-core-php/21475 "2020-06-16T11:14:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![npch54321](https://avatars.discourse-cdn.com/v4/letter/n/54ee81/32.png) [@npch54321](https://devforum.zoom.us/u/npch54321)\
**Post date:** [June 16, 2020, 11:14am UTC](https://devforum.zoom.us/t/blank-screen-appearing-when-integrating-with-core-php/21475/1 "2020-06-16T11:14:00Z")

</div>

when i integrate api with php site we are facing blank screen i am adding my full code please help me with that

index.js

// For Global use [source.zoom.us](http://source.zoom.us):  
ZoomMtg.setZoomJSLib(‘[https://source.zoom.us/1.7.7/lib](https://source.zoom.us/1.7.7/lib)’, ‘/av’);  
const baseUrl = “[http://localhost:8820/web/profr/](http://localhost:8820/web/profr/)”;  
const signatureUrl = “zoom/gentrate/signature”;  
const meetConfig = {  
apiKey: ‘xxxxxxx’,  
meetingNumber: ‘xxxxxxx’,  
leaveUrl: ‘[https://www.zoom.us](https://www.zoom.us)’,  
userName: ‘jai Pandey’,  
userEmail: ‘firstname.lastname@yoursite.com’, // required for webinar  
passWord: ‘xxxxx’, // if required  
role: 0 // 1 for host; 0 for attendee or webinar  
};  
getSignature(meetConfig);  
function getSignature(meetConfig) {  
var myHeaders = new Headers();  
myHeaders.append(“Content-Type”, “application/json”);  
var raw = JSON.stringify(meetConfig);  
var requestOptions = {  
method: ‘POST’,  
headers: myHeaders,  
body: raw  
};  
fetch(`${baseUrl+signatureUrl}`, requestOptions)  
.then(result =\> result.text())  
.then(response =\> {  
console.log(response);  
ZoomMtg.init({  
leaveUrl: meetConfig.leaveUrl,  
isSupportAV: true,  
success: function(){  
console.log(response);  
console.log(“success ho gya”);  
ZoomMtg.join({  
signature: response,  
meetingNumber: meetConfig.meetingNumber,  
userName: meetConfig.userName,  
apiKey: meetConfig.apiKey,  
userEmail: meetConfig.userEmail,  
passWord: meetConfig.password,  
success: (success) =\> {  
console.log(success)  
},  
error: (error) =\> {  
console.log(error)  
}  
})  
},  
error: (error) =\> {  
console.log(“error”);  
console.log(error)  
}  
})  
})  
}  
**Screenshots**

 ![Screenshot 2020-06-16 at 1.43.53 AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/0/0af2d1ce3e3cb3b0931b2656008de88670e9d464.png)

**Smartphone (please complete the following information):**  
crome browser

---

<div class="post-metadata">

**Author:** ![npch54321](https://avatars.discourse-cdn.com/v4/letter/n/54ee81/32.png) [@npch54321](https://devforum.zoom.us/u/npch54321)\
**Post date:** [June 16, 2020, 11:16am UTC](https://devforum.zoom.us/t/blank-screen-appearing-when-integrating-with-core-php/21475/2 "2020-06-16T11:16:28Z")

</div>



---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [June 18, 2020, 10:46pm UTC](https://devforum.zoom.us/t/blank-screen-appearing-when-integrating-with-core-php/21475/3 "2020-06-18T22:46:38Z")

</div>

Hey @npch54321,

Can you please try adding these lines after `ZoomMtg.setZoomJSLib(‘https://source.zoom.us/1.7.7/lib’, ‘/av’);`

```auto
ZoomMtg.preLoadWasm();
ZoomMtg.prepareJssdk();

```

Let me know if that fixes the issue!

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 10:08pm UTC](https://devforum.zoom.us/t/blank-screen-appearing-when-integrating-with-core-php/21475/4 "2020-08-21T22:08:23Z")

</div>

Closed on August 21, 2020, 10:08pm UTC


